import type { IncomingHttpHeaders } from "node:http";
import type { Config } from "../config.js";
export declare const PIPELINE_VERSION_HEADER = "x-harness-pipeline-version";
export declare const AUTO_APPROVE_RISK_HEADER = "x-harness-auto-approve-risk";
export declare const API_KEY_HEADER = "x-harness-api-key";
export declare const ACCOUNT_ID_HEADER = "x-harness-account-id";
export declare const ORG_HEADER = "x-harness-org";
export declare const PROJECT_HEADER = "x-harness-project";
export declare function parsePipelineVersionHeader(headers: IncomingHttpHeaders): "0" | "1" | undefined;
export declare function parseAutoApproveRiskHeader(headers: IncomingHttpHeaders): Config["HARNESS_AUTO_APPROVE_RISK"] | undefined;
/**
 * Error thrown when a multi-user session is missing required credentials.
 * Handled in the HTTP session creation path to return a JSON-RPC error.
 */
export declare class MissingSessionCredentialsError extends Error {
    constructor(missing: string[]);
}
export declare function mergeConfigWithSessionHeaders(baseConfig: Config, headers: IncomingHttpHeaders): Config;
//# sourceMappingURL=session-headers.d.ts.map