import { NormalizedBunnyStorageConfig } from "../../shared/types/configNormalized.js"; import { Logger } from "./logger.js"; //#region src/cli/lib/deployEdgeScript.d.ts type DeployEdgeScriptOptions = { accountApiKey: string; additive?: boolean; allowedOrigins?: string; cdnTier: 'standard' | 'volume'; code: string; connectionLimit: number; dryRun: boolean; logger: Logger; name: string; requestLimit: number; sharedSecret: string; skipHarden: boolean; writeSharedSecret?: boolean; zones: Record; }; declare const storageHostFor: (region?: string) => string; type EdgeDeployGroup = { scriptUrl?: string; secretConflict?: boolean; sharedSecret?: string; zoneNames: string[]; zones: Record; }; type EdgeDeployPlan = { errors: string[]; groups: EdgeDeployGroup[]; }; declare const buildEdgeDeployPlan: (config: NormalizedBunnyStorageConfig) => EdgeDeployPlan; declare const loadZonesFileGroup: (filePath: string) => EdgeDeployGroup; type DeployEdgeScriptResult = { created: boolean; scriptId: number; scriptUrl: string; sharedSecret: string; }; declare const edgeScriptExists: (accountApiKey: string, name: string) => Promise; declare const checkEdgeScriptVersion: (scriptUrl: string) => Promise; declare const deployEdgeScript: (options: DeployEdgeScriptOptions) => Promise; //#endregion export { DeployEdgeScriptOptions, DeployEdgeScriptResult, EdgeDeployGroup, EdgeDeployPlan, buildEdgeDeployPlan, checkEdgeScriptVersion, deployEdgeScript, edgeScriptExists, loadZonesFileGroup, storageHostFor }; //# sourceMappingURL=deployEdgeScript.d.ts.map