import { z } from 'zod'; export declare const authMetadataSchema: z.ZodObject<{ requireEmailVerification: z.ZodBoolean; passwordMinLength: z.ZodNumber; requireNumber: z.ZodBoolean; requireLowercase: z.ZodBoolean; requireUppercase: z.ZodBoolean; requireSpecialChar: z.ZodBoolean; verifyEmailMethod: z.ZodEnum<["code", "link"]>; resetPasswordMethod: z.ZodEnum<["code", "link"]>; allowedRedirectUrls: z.ZodNullable>>; disableSignup: z.ZodBoolean; oAuthProviders: z.ZodArray, "many">; customOAuthProviders: z.ZodArray; smtpConfig: z.ZodObject, "strip", z.ZodTypeAny, { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }, { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }>; }, "strip", z.ZodTypeAny, { requireEmailVerification: boolean; passwordMinLength: number; requireNumber: boolean; requireLowercase: boolean; requireUppercase: boolean; requireSpecialChar: boolean; verifyEmailMethod: "code" | "link"; resetPasswordMethod: "code" | "link"; disableSignup: boolean; oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[]; customOAuthProviders: string[]; smtpConfig: { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }; allowedRedirectUrls?: string[] | null | undefined; }, { requireEmailVerification: boolean; passwordMinLength: number; requireNumber: boolean; requireLowercase: boolean; requireUppercase: boolean; requireSpecialChar: boolean; verifyEmailMethod: "code" | "link"; resetPasswordMethod: "code" | "link"; disableSignup: boolean; oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[]; customOAuthProviders: string[]; smtpConfig: { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }; allowedRedirectUrls?: string[] | null | undefined; }>; export declare const databaseMetadataSchema: z.ZodObject<{ tables: z.ZodArray, "many">; totalSizeInGB: z.ZodNumber; hint: z.ZodOptional; }, "strip", z.ZodTypeAny, { tables: { tableName: string; recordCount: number; }[]; totalSizeInGB: number; hint?: string | undefined; }, { tables: { tableName: string; recordCount: number; }[]; totalSizeInGB: number; hint?: string | undefined; }>; export declare const bucketMetadataSchema: z.ZodObject<{ name: z.ZodString; public: z.ZodBoolean; createdAt: z.ZodString; } & { objectCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }, { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }>; export declare const storageMetadataSchema: z.ZodObject<{ buckets: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }, { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }>, "many">; totalSizeInGB: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalSizeInGB: number; buckets: { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }[]; }, { totalSizeInGB: number; buckets: { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }[]; }>; export declare const edgeFunctionMetadataSchema: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; description: z.ZodNullable; status: z.ZodString; }, "strip", z.ZodTypeAny, { status: string; name: string; description: string | null; slug: string; }, { status: string; name: string; description: string | null; slug: string; }>; export declare const realtimeMetadataSchema: z.ZodObject<{ channels: z.ZodArray; webhookUrls: z.ZodNullable>; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }>, "many">; permissions: z.ZodObject<{ subscribe: z.ZodObject<{ policies: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }>; publish: z.ZodObject<{ policies: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }>; }, "strip", z.ZodTypeAny, { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }, { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }>; }, "strip", z.ZodTypeAny, { channels: { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }[]; permissions: { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }; }, { channels: { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }[]; permissions: { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }; }>; /** * Deployments slice for the admin metadata response. Cloud-only: this slice * is omitted entirely in self-hosted backends (where custom slugs are not * available). The CLI's capability probe uses presence/absence of this slice * to decide whether to apply `[deployments]` TOML sections. * * `customSlug: null` means cloud + slug not set (project uses default URL). * Absent slice means self-host (feature doesn't exist). */ export declare const deploymentsMetadataSchema: z.ZodObject<{ customSlug: z.ZodNullable; }, "strip", z.ZodTypeAny, { customSlug: string | null; }, { customSlug: string | null; }>; export declare const appMetaDataSchema: z.ZodObject<{ auth: z.ZodObject<{ requireEmailVerification: z.ZodBoolean; passwordMinLength: z.ZodNumber; requireNumber: z.ZodBoolean; requireLowercase: z.ZodBoolean; requireUppercase: z.ZodBoolean; requireSpecialChar: z.ZodBoolean; verifyEmailMethod: z.ZodEnum<["code", "link"]>; resetPasswordMethod: z.ZodEnum<["code", "link"]>; allowedRedirectUrls: z.ZodNullable>>; disableSignup: z.ZodBoolean; oAuthProviders: z.ZodArray, "many">; customOAuthProviders: z.ZodArray; smtpConfig: z.ZodObject, "strip", z.ZodTypeAny, { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }, { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }>; }, "strip", z.ZodTypeAny, { requireEmailVerification: boolean; passwordMinLength: number; requireNumber: boolean; requireLowercase: boolean; requireUppercase: boolean; requireSpecialChar: boolean; verifyEmailMethod: "code" | "link"; resetPasswordMethod: "code" | "link"; disableSignup: boolean; oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[]; customOAuthProviders: string[]; smtpConfig: { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }; allowedRedirectUrls?: string[] | null | undefined; }, { requireEmailVerification: boolean; passwordMinLength: number; requireNumber: boolean; requireLowercase: boolean; requireUppercase: boolean; requireSpecialChar: boolean; verifyEmailMethod: "code" | "link"; resetPasswordMethod: "code" | "link"; disableSignup: boolean; oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[]; customOAuthProviders: string[]; smtpConfig: { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }; allowedRedirectUrls?: string[] | null | undefined; }>; database: z.ZodObject<{ tables: z.ZodArray, "many">; totalSizeInGB: z.ZodNumber; hint: z.ZodOptional; }, "strip", z.ZodTypeAny, { tables: { tableName: string; recordCount: number; }[]; totalSizeInGB: number; hint?: string | undefined; }, { tables: { tableName: string; recordCount: number; }[]; totalSizeInGB: number; hint?: string | undefined; }>; storage: z.ZodObject<{ buckets: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }, { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }>, "many">; totalSizeInGB: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalSizeInGB: number; buckets: { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }[]; }, { totalSizeInGB: number; buckets: { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }[]; }>; functions: z.ZodArray; status: z.ZodString; }, "strip", z.ZodTypeAny, { status: string; name: string; description: string | null; slug: string; }, { status: string; name: string; description: string | null; slug: string; }>, "many">; realtime: z.ZodOptional; webhookUrls: z.ZodNullable>; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }, { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }>, "many">; permissions: z.ZodObject<{ subscribe: z.ZodObject<{ policies: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }>; publish: z.ZodObject<{ policies: z.ZodArray; using: z.ZodNullable; withCheck: z.ZodNullable; }, "strip", z.ZodTypeAny, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }, { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }, { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }>; }, "strip", z.ZodTypeAny, { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }, { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }>; }, "strip", z.ZodTypeAny, { channels: { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }[]; permissions: { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }; }, { channels: { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }[]; permissions: { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }; }>>; deployments: z.ZodOptional; }, "strip", z.ZodTypeAny, { customSlug: string | null; }, { customSlug: string | null; }>>; version: z.ZodOptional; }, "strip", z.ZodTypeAny, { functions: { status: string; name: string; description: string | null; slug: string; }[]; storage: { totalSizeInGB: number; buckets: { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }[]; }; auth: { requireEmailVerification: boolean; passwordMinLength: number; requireNumber: boolean; requireLowercase: boolean; requireUppercase: boolean; requireSpecialChar: boolean; verifyEmailMethod: "code" | "link"; resetPasswordMethod: "code" | "link"; disableSignup: boolean; oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[]; customOAuthProviders: string[]; smtpConfig: { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }; allowedRedirectUrls?: string[] | null | undefined; }; database: { tables: { tableName: string; recordCount: number; }[]; totalSizeInGB: number; hint?: string | undefined; }; version?: string | undefined; realtime?: { channels: { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }[]; permissions: { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }; } | undefined; deployments?: { customSlug: string | null; } | undefined; }, { functions: { status: string; name: string; description: string | null; slug: string; }[]; storage: { totalSizeInGB: number; buckets: { name: string; createdAt: string; public: boolean; objectCount?: number | undefined; }[]; }; auth: { requireEmailVerification: boolean; passwordMinLength: number; requireNumber: boolean; requireLowercase: boolean; requireUppercase: boolean; requireSpecialChar: boolean; verifyEmailMethod: "code" | "link"; resetPasswordMethod: "code" | "link"; disableSignup: boolean; oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[]; customOAuthProviders: string[]; smtpConfig: { enabled: boolean; host: string; port: number; username: string; hasPassword: boolean; senderEmail: string; senderName: string; minIntervalSeconds: number; }; allowedRedirectUrls?: string[] | null | undefined; }; database: { tables: { tableName: string; recordCount: number; }[]; totalSizeInGB: number; hint?: string | undefined; }; version?: string | undefined; realtime?: { channels: { description: string | null; id: string; enabled: boolean; createdAt: string; updatedAt: string; pattern: string; webhookUrls: string[] | null; }[]; permissions: { subscribe: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; publish: { policies: { tableName: string; policyName: string; roles: string[]; withCheck: string | null; command: string; using: string | null; }[]; }; }; } | undefined; deployments?: { customSlug: string | null; } | undefined; }>; export type AuthMetadataSchema = z.infer; export type DatabaseMetadataSchema = z.infer; export type BucketMetadataSchema = z.infer; export type StorageMetadataSchema = z.infer; export type EdgeFunctionMetadataSchema = z.infer; export type RealtimeMetadataSchema = z.infer; export type DeploymentsMetadataSchema = z.infer; export type AppMetadataSchema = z.infer; export declare const databaseConnectionParametersSchema: z.ZodObject<{ host: z.ZodString; port: z.ZodNumber; database: z.ZodString; user: z.ZodString; password: z.ZodString; sslmode: z.ZodString; }, "strip", z.ZodTypeAny, { user: string; host: string; port: number; password: string; database: string; sslmode: string; }, { user: string; host: string; port: number; password: string; database: string; sslmode: string; }>; export declare const databaseConnectionInfoSchema: z.ZodObject<{ connectionURL: z.ZodString; parameters: z.ZodObject<{ host: z.ZodString; port: z.ZodNumber; database: z.ZodString; user: z.ZodString; password: z.ZodString; sslmode: z.ZodString; }, "strip", z.ZodTypeAny, { user: string; host: string; port: number; password: string; database: string; sslmode: string; }, { user: string; host: string; port: number; password: string; database: string; sslmode: string; }>; }, "strip", z.ZodTypeAny, { parameters: { user: string; host: string; port: number; password: string; database: string; sslmode: string; }; connectionURL: string; }, { parameters: { user: string; host: string; port: number; password: string; database: string; sslmode: string; }; connectionURL: string; }>; export declare const databasePasswordInfoSchema: z.ZodObject<{ databasePassword: z.ZodString; }, "strip", z.ZodTypeAny, { databasePassword: string; }, { databasePassword: string; }>; export declare const apiKeyResponseSchema: z.ZodObject<{ apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { apiKey: string; }, { apiKey: string; }>; export declare const projectIdResponseSchema: z.ZodObject<{ projectId: z.ZodNullable; }, "strip", z.ZodTypeAny, { projectId: string | null; }, { projectId: string | null; }>; export type DatabaseConnectionParameters = z.infer; export type DatabaseConnectionInfo = z.infer; export type DatabasePasswordInfo = z.infer; export type ApiKeyResponse = z.infer; export type ProjectIdResponse = z.infer; //# sourceMappingURL=metadata.schema.d.ts.map