type RuntimeEnvironment = Record; export type VercelProject = { projectId: string; orgId: string; }; export type VercelScope = { id: string; slug: string; name: string; current: boolean; }; export type NetlifySite = { siteId: string; }; export declare function attachVercelDomain(domain: string, projectId: string, orgId: string): Promise; export declare function configureNetlifyDomain(domain: string, siteId: string, primary: boolean): Promise; export declare function listVercelScopes(): Promise; export declare function ensureVercelProject(dir: string, projectName: string, scope: string, existing?: VercelProject): Promise; export declare function setVercelEnvironment(dir: string, environment: RuntimeEnvironment, secretNames: ReadonlySet): Promise; /** * Reports whether the linked Vercel project already holds this production * setting. Only names are used: `vercel env ls --format json` returns a value * only for plain settings, and OwnMail stores its secrets as sensitive, so an * existing secret value is never returned, read, or written anywhere. */ export declare function vercelHasEnvironmentVariable(dir: string, name: string): Promise; /** * Reports whether the Netlify site already holds this setting. Only the key set * of the listing is inspected — OwnMail never reads an existing secret value * back out of the provider, and never writes one to disk. */ export declare function netlifyHasEnvironmentVariable(dir: string, siteId: string, name: string): Promise; /** Ensures the linked Vercel project has durable storage for sessions and realtime counters. */ export declare function ensureVercelRealtimeStore(dir: string, resourceName: string, region: 'us' | 'eu'): Promise; export declare function deployVercel(dir: string, scope: string): Promise; export declare function resolveVercelProductionUrl(url: string, scope: string): Promise; export declare function ensureNetlifySite(dir: string, siteName: string, existingSiteId?: string): Promise; export declare function setNetlifyEnvironment(dir: string, siteId: string, environment: RuntimeEnvironment, secretNames?: ReadonlySet): Promise; export declare function deployNetlify(dir: string, siteId: string): Promise; export {}; //# sourceMappingURL=provider-cli.d.ts.map