import * as z from 'zod'; import { AsyncFileSystem, FileSystem } from './fs'; import { Logger } from './logger'; export declare const NowConfigSchema: z.ZodEffects; serverModulesDir: z.ZodDefault; modulePaths: z.ZodDefault>; metadataDir: z.ZodDefault; fluentDir: z.ZodDefault; generatedDir: z.ZodDefault; appOutputDir: z.ZodDefault; packOutputDir: z.ZodDefault; npmUpdateCheck: z.ZodDefault, z.ZodNumber]>>; dependencies: z.ZodDefault, z.ZodLiteral<"*">]>>; }, "strip", z.ZodTypeAny, { tables?: string[] | "*" | undefined; }, { tables?: string[] | "*" | undefined; }>>>; }, "strip", z.ZodTypeAny, { applications?: Record | undefined; }, { applications?: Record | undefined; }>>; ignoreTransformTableList: z.ZodDefault>; tsconfigPath: z.ZodOptional; moduleDir: z.ZodOptional; compileOutputDir: z.ZodOptional; sourceDir: z.ZodDefault; transpiledSourceDir: z.ZodOptional; }, "strip", z.ZodTypeAny, { scope: string; scopeId: string; serverModulesDir: string; modulePaths: Record; metadataDir: string; fluentDir: string; generatedDir: string; appOutputDir: string; packOutputDir: string; npmUpdateCheck: number | false; dependencies: { applications?: Record | undefined; }; ignoreTransformTableList: string[]; sourceDir: string; name?: string | undefined; tsconfigPath?: string | undefined; moduleDir?: string | undefined; compileOutputDir?: string | undefined; transpiledSourceDir?: string | undefined; }, { scope: string; scopeId: string; name?: string | undefined; serverModulesDir?: string | undefined; modulePaths?: Record | undefined; metadataDir?: string | undefined; fluentDir?: string | undefined; generatedDir?: string | undefined; appOutputDir?: string | undefined; packOutputDir?: string | undefined; npmUpdateCheck?: number | false | undefined; dependencies?: { applications?: Record | undefined; } | undefined; ignoreTransformTableList?: string[] | undefined; tsconfigPath?: string | undefined; moduleDir?: string | undefined; compileOutputDir?: string | undefined; sourceDir?: string | undefined; transpiledSourceDir?: string | undefined; }>, { scope: string; scopeId: string; serverModulesDir: string; modulePaths: Record; metadataDir: string; fluentDir: string; generatedDir: string; appOutputDir: string; packOutputDir: string; npmUpdateCheck: number | false; dependencies: { applications?: Record | undefined; }; ignoreTransformTableList: string[]; sourceDir: string; name?: string | undefined; tsconfigPath?: string | undefined; moduleDir?: string | undefined; compileOutputDir?: string | undefined; transpiledSourceDir?: string | undefined; }, { scope: string; scopeId: string; name?: string | undefined; serverModulesDir?: string | undefined; modulePaths?: Record | undefined; metadataDir?: string | undefined; fluentDir?: string | undefined; generatedDir?: string | undefined; appOutputDir?: string | undefined; packOutputDir?: string | undefined; npmUpdateCheck?: number | false | undefined; dependencies?: { applications?: Record | undefined; } | undefined; ignoreTransformTableList?: string[] | undefined; tsconfigPath?: string | undefined; moduleDir?: string | undefined; compileOutputDir?: string | undefined; sourceDir?: string | undefined; transpiledSourceDir?: string | undefined; }>; export type NowConfig = z.output; export type NowConfigOptions = z.input; export type NowConfigDependenciesApplicationTables = string[] | '*'; export declare const NowConfigFileName = "now.config.json"; export declare function getNowConfigFileValidationResults(json: unknown): import("jsonschema").ValidatorResult; export declare const TABLES_DECLARATIONS_FILE = "tables.ts"; export declare const getSchemaGeneratedPaths: (workingDir: string, config: NowConfig) => { dir: string; declarationsFile: string; }; export declare const ERROR_ON_DEPRECATED_PROPS: { transpiledSourceDir: string; }; /** * * @param config Configuration Records read from now.config.json * @param rootDir Root project directory used to parse tsconfig from tsconfigPath * @param fs FileSystem * @param logger * @returns zod parsed NowConfig */ export declare function parseNowConfig(config: Record, logger: Logger): NowConfig; export declare const parseNowConfigFromPath: (path: string, fs: FileSystem, logger: Logger) => NowConfig; export declare const parseNowConfigFromDirectoryAsync: (dir: string, fs: AsyncFileSystem, logger: Logger) => Promise; export declare const parseNowConfigFromDirectory: (dir: string, fs: FileSystem, logger: Logger) => NowConfig; export declare const hasNowConfig: (dir: string, fs: FileSystem) => boolean;