import { z } from 'zod'; import type { LogLevel, Overrides, RuntimeEnumsStyle, Serializer } from '../generator'; import { ArrayExpressionNode, ExtendsClauseNode, GenericExpressionNode, IdentifierNode, InferClauseNode, LiteralNode, Logger, MappedTypeNode, ObjectExpressionNode, RawExpressionNode, UnionExpressionNode } from '../generator'; import type { DateParser, NumericParser } from '../introspector'; import { DatabaseMetadata, IntrospectorDialect } from '../introspector'; export type Config = { camelCase?: boolean; dateParser?: DateParser; defaultSchemas?: string[]; dialect?: DialectName; domains?: boolean; envFile?: string; excludePattern?: string | null; includePattern?: string | null; logger?: Logger; logLevel?: LogLevel; numericParser?: NumericParser; outFile?: string | null; overrides?: Overrides; partitions?: boolean; print?: boolean; runtimeEnums?: boolean | RuntimeEnumsStyle; serializer?: Serializer; singularize?: boolean | Record; skipAutogeneratedFileComment?: boolean; typeOnlyImports?: boolean; url?: string; verify?: boolean; }; export type DialectName = z.infer; export declare const dialectNameSchema: z.ZodEnum<["bun-sqlite", "kysely-bun-sqlite", "libsql", "mssql", "mysql", "postgres", "sqlite", "worker-bun-sqlite"]>; export declare const configSchema: z.ZodObject<{ camelCase: z.ZodOptional; dateParser: z.ZodOptional>; defaultSchemas: z.ZodOptional>; dialect: z.ZodOptional>; domains: z.ZodOptional; envFile: z.ZodOptional; excludePattern: z.ZodOptional>; includePattern: z.ZodOptional>; logger: z.ZodOptional>; logLevel: z.ZodOptional>; numericParser: z.ZodOptional>; outFile: z.ZodOptional>; overrides: z.ZodOptional, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodTypeDef, LiteralNode>, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodString]>>>; }, "strip", z.ZodTypeAny, { columns?: Record> | undefined; }, { columns?: Record> | undefined; }>>>; partitions: z.ZodOptional; print: z.ZodOptional; runtimeEnums: z.ZodOptional]>>; serializer: z.ZodOptional, z.ZodType, z.ZodOptional; defaultSchemas: z.ZodOptional>; overrides: z.ZodOptional, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodTypeDef, LiteralNode>, z.ZodType, z.ZodType, z.ZodType, z.ZodType, z.ZodString]>>>; }, "strip", z.ZodTypeAny, { columns?: Record> | undefined; }, { columns?: Record> | undefined; }>>>; }, "strip", z.ZodTypeAny, { defaultSchemas?: string[] | undefined; camelCase?: boolean | undefined; overrides?: { columns?: Record> | undefined; } | undefined; }, { defaultSchemas?: string[] | undefined; camelCase?: boolean | undefined; overrides?: { columns?: Record> | undefined; } | undefined; }>>], null>, z.ZodString>; }, "strip", z.ZodTypeAny, { serializeFile: (args_0: DatabaseMetadata, args_1: IntrospectorDialect, args_2: { defaultSchemas?: string[] | undefined; camelCase?: boolean | undefined; overrides?: { columns?: Record> | undefined; } | undefined; } | undefined) => string; }, { serializeFile: (args_0: DatabaseMetadata, args_1: IntrospectorDialect, args_2: { defaultSchemas?: string[] | undefined; camelCase?: boolean | undefined; overrides?: { columns?: Record> | undefined; } | undefined; } | undefined) => string; }>>; singularize: z.ZodOptional]>>; skipAutogeneratedFileComment: z.ZodOptional; typeOnlyImports: z.ZodOptional; url: z.ZodOptional; verify: z.ZodOptional; }, "strip", z.ZodTypeAny, { url?: string | undefined; defaultSchemas?: string[] | undefined; domains?: boolean | undefined; partitions?: boolean | undefined; camelCase?: boolean | undefined; dateParser?: "string" | "timestamp" | undefined; dialect?: "kysely-bun-sqlite" | "bun-sqlite" | "libsql" | "mssql" | "mysql" | "postgres" | "sqlite" | "worker-bun-sqlite" | undefined; envFile?: string | undefined; excludePattern?: string | null | undefined; includePattern?: string | null | undefined; logger?: Logger | undefined; logLevel?: "error" | "debug" | "silent" | "warn" | "info" | undefined; numericParser?: "string" | "number" | "number-or-string" | undefined; outFile?: string | null | undefined; overrides?: { columns?: Record> | undefined; } | undefined; print?: boolean | undefined; runtimeEnums?: boolean | "screaming-snake-case" | "pascal-case" | undefined; serializer?: { serializeFile: (args_0: DatabaseMetadata, args_1: IntrospectorDialect, args_2: { defaultSchemas?: string[] | undefined; camelCase?: boolean | undefined; overrides?: { columns?: Record> | undefined; } | undefined; } | undefined) => string; } | undefined; singularize?: boolean | Record | undefined; skipAutogeneratedFileComment?: boolean | undefined; typeOnlyImports?: boolean | undefined; verify?: boolean | undefined; }, { url?: string | undefined; defaultSchemas?: string[] | undefined; domains?: boolean | undefined; partitions?: boolean | undefined; camelCase?: boolean | undefined; dateParser?: "string" | "timestamp" | undefined; dialect?: "kysely-bun-sqlite" | "bun-sqlite" | "libsql" | "mssql" | "mysql" | "postgres" | "sqlite" | "worker-bun-sqlite" | undefined; envFile?: string | undefined; excludePattern?: string | null | undefined; includePattern?: string | null | undefined; logger?: Logger | undefined; logLevel?: "error" | "debug" | "silent" | "warn" | "info" | undefined; numericParser?: "string" | "number" | "number-or-string" | undefined; outFile?: string | null | undefined; overrides?: { columns?: Record> | undefined; } | undefined; print?: boolean | undefined; runtimeEnums?: boolean | "screaming-snake-case" | "pascal-case" | undefined; serializer?: { serializeFile: (args_0: DatabaseMetadata, args_1: IntrospectorDialect, args_2: { defaultSchemas?: string[] | undefined; camelCase?: boolean | undefined; overrides?: { columns?: Record> | undefined; } | undefined; } | undefined) => string; } | undefined; singularize?: boolean | Record | undefined; skipAutogeneratedFileComment?: boolean | undefined; typeOnlyImports?: boolean | undefined; verify?: boolean | undefined; }>;