import { type CredentialDeclaration } from "./declarations.ts";
export interface ProxiedCredential {
    readonly declaration: CredentialDeclaration;
    readonly value: string;
}
export interface CredentialProxy {
    /** The route a child uses for one credential: `http://127.0.0.1:<port>/<capability>/<env>`. */
    routeFor(env: string): string | undefined;
    close(): Promise<void>;
}
/** Binds the proxy on loopback; rejects when it cannot listen, so the caller never falls back to passing values. */
export declare function startCredentialProxy(credentials: readonly ProxiedCredential[]): Promise<CredentialProxy>;
//# sourceMappingURL=proxy.d.ts.map