import { type Config as FunctionsConfig, type FunctionResult, type NetlifyServerConfig, type ServerResult } from '@netlify/zip-it-and-ship-it'; import type BaseCommand from '../../commands/base-command.js'; import type { StatusCallback } from './status-cb.js'; import type { FunctionUploadFile, ServerUploadFile } from './upload-files.js'; interface ServerPayload { sha: string; region?: string; instance_size?: ServerResult['instanceSize']; routes?: ServerResult['routes']; excluded_routes?: ServerResult['excludedRoutes']; runtime_version?: ServerResult['runtimeVersion']; scale?: ServerResult['scale']; } type HashedFunctionFile = FunctionUploadFile & { hash: string; relname: string; }; declare const toFunctionConfigPayload: (func: FunctionResult) => { display_name: string | undefined; excluded_routes: import("@netlify/zip-it-and-ship-it").Route[] | undefined; generator: string | undefined; memory: number | undefined; region: string | undefined; routes: import("@netlify/zip-it-and-ship-it").ExtendedRoute[] | undefined; build_data: import("@netlify/zip-it-and-ship-it/dist/utils/format_result.js").BuildData | undefined; priority: number | undefined; traffic_rules: { action: { type: string; config: { rate_limit_config: { algorithm: string; window_size: number; window_limit: number; }; aggregate: { keys: { type: string; }[]; }; to: string | undefined; }; }; } | undefined; vcpu: number | undefined; }; type FunctionConfigPayload = ReturnType; declare const hashFns: (command: BaseCommand, directories: string[], { concurrentHash, functionsConfig, hashAlgorithm, manifestPath, packagePath, rootDir, serverConfig, serverManifestPath, skipFunctionsCache, statusCb, tmpDir, }: { concurrentHash?: number; functionsConfig?: FunctionsConfig | undefined; hashAlgorithm?: string | undefined; manifestPath?: string | undefined; packagePath?: string | undefined; rootDir?: string | undefined; serverConfig?: NetlifyServerConfig | undefined; serverManifestPath?: string | undefined; skipFunctionsCache?: boolean | undefined; statusCb: StatusCallback; tmpDir: string; }) => Promise<{ functionSchedules?: { name: string; cron: string; }[] | undefined; functions: Record; functionsWithNativeModules: FunctionResult[]; fnShaMap?: Record | undefined; fnConfig?: Record | undefined; server?: ServerPayload | undefined; serverShaMap?: Record | undefined; }>; export default hashFns; //# sourceMappingURL=hash-fns.d.ts.map