import type { CloudflareApiClient, CloudflareZoneLike } from './types.js';
export declare function discoverZones(client: CloudflareApiClient, input: {
    readonly accountId: string;
    readonly zoneName?: string | undefined;
    readonly warnings: string[];
}): Promise<readonly CloudflareZoneLike[]>;
export declare function selectDiscoveredZone(client: CloudflareApiClient, zones: readonly CloudflareZoneLike[], input: {
    readonly zoneId?: string | undefined;
    readonly zoneName?: string | undefined;
    readonly configuredZoneId: string;
    readonly configuredZoneName: string;
    readonly warnings: string[];
}): Promise<CloudflareZoneLike | undefined>;
export declare function resolveZone(client: CloudflareApiClient, input: {
    readonly accountId: string;
    readonly zoneId?: string | undefined;
    readonly zoneName?: string | undefined;
    readonly configuredZoneId: string;
    readonly configuredZoneName: string;
    readonly required: boolean;
}): Promise<CloudflareZoneLike | undefined>;
export declare function tryDiscover<T>(label: string, warnings: string[], run: () => Promise<T>): Promise<T | undefined>;
//# sourceMappingURL=discovery.d.ts.map