import type { Resource, Service } from "./ServiceResourceSelector";
export type InitialServiceSelection = Readonly<{
    serviceId: string;
    preserveResourceId?: string;
}>;
export declare function shouldShowServiceSelection(input: Readonly<{
    services: readonly Service[];
    forceServiceSelection: boolean;
}>): boolean;
export declare function resolveInitialServiceSelection(input: Readonly<{
    services: readonly Service[];
    selectedServiceId?: string;
    preSelectedServiceId?: string;
    preSelectedResourceId?: string;
    shouldAutoSelectSingleService?: boolean;
    hasLoadedInitialService: boolean;
}>): InitialServiceSelection | null;
export declare function resolveAutoSelectedResourceId(input: Readonly<{
    resources: readonly Resource[];
    preSelectedResourceId?: string;
    selectedResourceId?: string;
    shouldAutoSelectSingleResource: boolean;
}>): string | null;
