type CtxConfig = {
    issuer?: string;
    vpnJoinBroker?: string;
} | null;
export declare function resolveVpnJoinBroker(context: string, getCfg?: (c: string) => CtxConfig): string | null;
export declare function deriveVpnJoinBroker(context: string, getCfg?: (c: string) => CtxConfig): string | null;
export interface MintDeps {
    getValidToken: (context: string) => Promise<string | null>;
    fetchFn?: typeof fetch;
}
export declare function mintPreAuthKey(context: string, brokerUrl: string, deps: MintDeps): Promise<{
    authKey: string;
    loginServer: string;
} | null>;
export declare function realMintDeps(): MintDeps;
export {};
