import { z } from 'zod';
import type { ConfigOf, RedactedSchema } from '../secrets.ts';
export declare const PostgresConfig: z.ZodObject<{
    dsn: import("../secrets.ts").SecretSchema<z.ZodString>;
    schemas: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
    defaultRowLimit: z.ZodOptional<z.ZodNumber>;
    maxReadRows: z.ZodOptional<z.ZodNumber>;
    maxReadBytes: z.ZodOptional<z.ZodNumber>;
    timeout: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export type PostgresConfig = ConfigOf<typeof PostgresConfig>;
export declare function resolvePostgresConfig(config: PostgresConfig): {
    timeout: number;
    dsn: string;
    schemas: readonly string[] | null;
    defaultRowLimit: number;
    maxReadRows: number;
    maxReadBytes: number;
};
export declare function redactPostgresConfig(config: ReturnType<typeof resolvePostgresConfig>): RedactedSchema<typeof PostgresConfig, ReturnType<typeof resolvePostgresConfig>>;
//# sourceMappingURL=config.d.ts.map