/**
 * Thin HTTP client for the mcp-auth-service.
 *
 * Reads OLAM_MCP_AUTH_SERVICE_URL (default http://127.0.0.1:9998) and
 * OLAM_MCP_AUTH_SECRET from the environment.
 *
 * This URL contract is the Phase C integration point — Phase C reads from
 * mcp-auth at OLAM_MCP_AUTH_SERVICE_URL.
 */
export interface McpStatusEntry {
    id: string;
    service: string;
    label: string;
    type: 'oauth' | 'static-key';
    envName?: string;
    validated: boolean;
    importedFrom?: string;
    lastUsed?: string;
    addedAt: string;
    expiresAt?: number;
    expired?: boolean;
}
export interface McpAuthClient {
    status(): Promise<{
        mcps: McpStatusEntry[];
    }>;
    getCredential(service: string): Promise<unknown>;
    staticAdd(opts: {
        service: string;
        token: string;
        label?: string;
        envName?: string;
    }): Promise<{
        ok: boolean;
        error?: string;
    }>;
    oauthStart(opts: {
        service: string;
        label?: string;
    }): Promise<{
        ok: boolean;
        loginUrl?: string;
        state?: string;
        error?: string;
    }>;
    oauthComplete(opts: {
        state: string;
        accessToken: string;
        refreshToken?: string;
    }): Promise<{
        ok: boolean;
        error?: string;
    }>;
    remove(id: string): Promise<{
        ok: boolean;
        error?: string;
    }>;
}
export declare function getMcpAuthClient(): McpAuthClient;
//# sourceMappingURL=client.d.ts.map