import { InitData } from '@supabase/mcp-utils'; import { z } from 'zod/v4'; type SuccessResponse = { success: true; }; declare const storageBucketSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; owner: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; public: z.ZodBoolean; }, z.core.$strip>; declare const storageConfigSchema: z.ZodObject<{ fileSizeLimit: z.ZodNumber; features: z.ZodObject<{ imageTransformation: z.ZodObject<{ enabled: z.ZodBoolean; }, z.core.$strip>; s3Protocol: z.ZodObject<{ enabled: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; declare const organizationSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; plan: z.ZodOptional; allowed_release_channels: z.ZodArray; opt_in_tags: z.ZodArray; }, z.core.$strip>; declare const projectSchema: z.ZodObject<{ id: z.ZodString; ref: z.ZodString; organization_id: z.ZodString; organization_slug: z.ZodString; name: z.ZodString; status: z.ZodString; created_at: z.ZodString; region: z.ZodString; }, z.core.$strip>; declare const branchSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; project_ref: z.ZodString; parent_project_ref: z.ZodString; is_default: z.ZodBoolean; git_branch: z.ZodOptional; pr_number: z.ZodOptional; latest_check_run_id: z.ZodOptional; persistent: z.ZodBoolean; status: z.ZodEnum<{ CREATING_PROJECT: "CREATING_PROJECT"; RUNNING_MIGRATIONS: "RUNNING_MIGRATIONS"; MIGRATIONS_PASSED: "MIGRATIONS_PASSED"; MIGRATIONS_FAILED: "MIGRATIONS_FAILED"; FUNCTIONS_DEPLOYED: "FUNCTIONS_DEPLOYED"; FUNCTIONS_FAILED: "FUNCTIONS_FAILED"; }>; created_at: z.ZodString; updated_at: z.ZodString; }, z.core.$strip>; declare const edgeFunctionSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; name: z.ZodString; status: z.ZodString; version: z.ZodNumber; created_at: z.ZodOptional; updated_at: z.ZodOptional; verify_jwt: z.ZodOptional; import_map: z.ZodOptional; import_map_path: z.ZodOptional; entrypoint_path: z.ZodOptional; }, z.core.$strip>; declare const edgeFunctionWithBodySchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; name: z.ZodString; status: z.ZodString; version: z.ZodNumber; created_at: z.ZodOptional; updated_at: z.ZodOptional; verify_jwt: z.ZodOptional; import_map: z.ZodOptional; import_map_path: z.ZodOptional; entrypoint_path: z.ZodOptional; files: z.ZodArray>; }, z.core.$strip>; declare const createProjectOptionsSchema: z.ZodObject<{ name: z.ZodString; organization_id: z.ZodString; region: z.ZodEnum<{ "us-west-1": "us-west-1"; "us-east-1": "us-east-1"; "us-east-2": "us-east-2"; "ca-central-1": "ca-central-1"; "eu-west-1": "eu-west-1"; "eu-west-2": "eu-west-2"; "eu-west-3": "eu-west-3"; "eu-central-1": "eu-central-1"; "eu-central-2": "eu-central-2"; "eu-north-1": "eu-north-1"; "ap-south-1": "ap-south-1"; "ap-southeast-1": "ap-southeast-1"; "ap-northeast-1": "ap-northeast-1"; "ap-northeast-2": "ap-northeast-2"; "ap-southeast-2": "ap-southeast-2"; "sa-east-1": "sa-east-1"; }>; db_pass: z.ZodOptional; }, z.core.$strip>; declare const createBranchOptionsSchema: z.ZodObject<{ name: z.ZodString; }, z.core.$strip>; declare const resetBranchOptionsSchema: z.ZodObject<{ migration_version: z.ZodOptional; }, z.core.$strip>; declare const deployEdgeFunctionOptionsSchema: z.ZodObject<{ name: z.ZodString; entrypoint_path: z.ZodString; import_map_path: z.ZodOptional; verify_jwt: z.ZodOptional; files: z.ZodArray>; }, z.core.$strip>; declare const executeSqlOptionsSchema: z.ZodObject<{ query: z.ZodString; parameters: z.ZodOptional>; read_only: z.ZodOptional; }, z.core.$strip>; declare const applyMigrationOptionsSchema: z.ZodObject<{ name: z.ZodString; query: z.ZodString; }, z.core.$strip>; declare const migrationSchema: z.ZodObject<{ version: z.ZodString; name: z.ZodOptional; }, z.core.$strip>; declare const logsServiceSchema: z.ZodEnum<{ api: "api"; "branch-action": "branch-action"; postgres: "postgres"; "edge-function": "edge-function"; auth: "auth"; storage: "storage"; realtime: "realtime"; }>; declare const getLogsOptionsSchema: z.ZodObject<{ service: z.ZodEnum<{ api: "api"; "branch-action": "branch-action"; postgres: "postgres"; "edge-function": "edge-function"; auth: "auth"; storage: "storage"; realtime: "realtime"; }>; iso_timestamp_start: z.ZodOptional; iso_timestamp_end: z.ZodOptional; }, z.core.$strip>; declare const generateTypescriptTypesResultSchema: z.ZodObject<{ types: z.ZodString; }, z.core.$strip>; type Organization = z.infer; type Project = z.infer; type Branch = z.infer; type EdgeFunction = z.infer; type EdgeFunctionWithBody = z.infer; type CreateProjectOptions = z.infer; type CreateBranchOptions = z.infer; type ResetBranchOptions = z.infer; type DeployEdgeFunctionOptions = z.infer; type ExecuteSqlOptions = z.infer; type ApplyMigrationOptions = z.infer; type Migration = z.infer; type ListMigrationsResult = z.infer; type LogsService = z.infer; type GetLogsOptions = z.infer; type GenerateTypescriptTypesResult = z.infer; type StorageConfig = z.infer; type StorageBucket = z.infer; type DatabaseOperations = { executeSql(projectId: string, options: ExecuteSqlOptions): Promise; listMigrations(projectId: string): Promise; applyMigration(projectId: string, options: ApplyMigrationOptions): Promise; }; type AccountOperations = { listOrganizations(): Promise<{ id: string; slug: string; name: string; }[]>; getOrganization(organizationId: string): Promise; listProjects(): Promise; getProject(projectId: string): Promise; createProject(options: CreateProjectOptions): Promise; pauseProject(projectId: string): Promise; restoreProject(projectId: string): Promise; }; type EdgeFunctionsOperations = { listEdgeFunctions(projectId: string): Promise; getEdgeFunction(projectId: string, functionSlug: string): Promise; deployEdgeFunction(projectId: string, options: DeployEdgeFunctionOptions): Promise>; }; type DebuggingOperations = { getLogs(projectId: string, options: GetLogsOptions): Promise; getSecurityAdvisors(projectId: string): Promise; getPerformanceAdvisors(projectId: string): Promise; }; declare const apiKeyTypeSchema: z.ZodEnum<{ legacy: "legacy"; publishable: "publishable"; }>; type ApiKeyType = z.infer; type ApiKey = { api_key: string; name: string; type: ApiKeyType; description?: string; id?: string; disabled?: boolean; }; type DevelopmentOperations = { getProjectUrl(projectId: string): Promise; getPublishableKeys(projectId: string): Promise; generateTypescriptTypes(projectId: string): Promise; }; type StorageOperations = { getStorageConfig(projectId: string): Promise; updateStorageConfig(projectId: string, config: StorageConfig): Promise; listAllBuckets(projectId: string): Promise; }; type BranchingOperations = { listBranches(projectId: string): Promise; createBranch(projectId: string, options: CreateBranchOptions): Promise; deleteBranch(branchId: string): Promise; mergeBranch(branchId: string): Promise; resetBranch(branchId: string, options: ResetBranchOptions): Promise; rebaseBranch(branchId: string): Promise; }; type SupabasePlatform = { init?(info: InitData): Promise; account?: AccountOperations; database?: DatabaseOperations; functions?: EdgeFunctionsOperations; debugging?: DebuggingOperations; development?: DevelopmentOperations; storage?: StorageOperations; branching?: BranchingOperations; }; export { type AccountOperations, type ApiKey, type ApiKeyType, type ApplyMigrationOptions, type Branch, type BranchingOperations, type CreateBranchOptions, type CreateProjectOptions, type DatabaseOperations, type DebuggingOperations, type DeployEdgeFunctionOptions, type DevelopmentOperations, type EdgeFunction, type EdgeFunctionWithBody, type EdgeFunctionsOperations, type ExecuteSqlOptions, type GenerateTypescriptTypesResult, type GetLogsOptions, type ListMigrationsResult, type LogsService, type Migration, type Organization, type Project, type ResetBranchOptions, type StorageBucket, type StorageConfig, type StorageOperations, type SuccessResponse, type SupabasePlatform, apiKeyTypeSchema, applyMigrationOptionsSchema, branchSchema, createBranchOptionsSchema, createProjectOptionsSchema, deployEdgeFunctionOptionsSchema, edgeFunctionSchema, edgeFunctionWithBodySchema, executeSqlOptionsSchema, generateTypescriptTypesResultSchema, getLogsOptionsSchema, logsServiceSchema, migrationSchema, organizationSchema, projectSchema, resetBranchOptionsSchema, storageBucketSchema, storageConfigSchema };