import { type BrokerLogger } from "./logger.js"; import type { RuntimeEndpointPort } from "./runtime-endpoint-port.js"; interface ResolvedCredentials { accountId: string; connectorUrl: string; token: string; apiHost: string; } interface RuntimePrincipal { ownerUserId?: string; subjectType: string; subjectId: string; carrier?: string; } export declare function resolveCredentialsFromFile(filePath: string, accountId: string, envApiHost: string | undefined): Promise; export declare function resolveRuntimePrincipal(apiHost: string, runtimeKey: string, fetchImpl?: typeof globalThis.fetch): Promise; export interface ResolveRuntimePrincipalRetryOptions { attempts?: number; initialDelayMs?: number; maxDelayMs?: number; fetchImpl?: typeof globalThis.fetch; logger?: BrokerLogger; } export declare function resolveRuntimePrincipalWithRetry(apiHost: string, runtimeKey: string, opts?: ResolveRuntimePrincipalRetryOptions): Promise; export declare function buildApiPort(apiHost: string, runtimeKey: string, logger: BrokerLogger): RuntimeEndpointPort; export declare function installFatalExitHandlers(logger: BrokerLogger): void; export declare function main(): Promise; export {}; //# sourceMappingURL=entry.d.ts.map