import type { IncomingMessage } from "node:http";
export { authorizeGatewayHttpRequestOrReply, authorizeScopedGatewayHttpRequestOrReply, checkGatewayHttpRequestAuth, getBearerToken, getHeader, isGatewayBearerHttpRequest, resolveHttpBrowserOriginPolicy, resolveHttpSenderIsOwner, resolveOpenAiCompatibleHttpOperatorScopes, resolveOpenAiCompatibleHttpSenderIsOwner, resolveSharedSecretHttpOperatorScopes, resolveTrustedHttpOperatorScopes, type AuthorizedGatewayHttpRequest, type GatewayHttpRequestAuthCheckResult, } from "./http-auth-utils.js";
export declare const DAOCORE_MODEL_ID = "daocore";
export declare const DAOCORE_DEFAULT_MODEL_ID = "daocore/default";
export declare function resolveAgentIdFromModel(model: string | undefined, cfg?: import("daocore/plugin-sdk").DaoCoreConfig): string | undefined;
export declare function resolveOpenAiCompatModelOverride(params: {
    req: IncomingMessage;
    agentId: string;
    model: string | undefined;
}): Promise<{
    modelOverride?: string;
    errorMessage?: string;
}>;
export declare function resolveAgentIdForRequest(params: {
    req: IncomingMessage;
    model: string | undefined;
}): string;
export declare function resolveGatewayRequestContext(params: {
    req: IncomingMessage;
    model: string | undefined;
    user?: string | undefined;
    sessionPrefix: string;
    defaultMessageChannel: string;
    useMessageChannelHeader?: boolean;
}): {
    agentId: string;
    sessionKey: string;
    messageChannel: string;
};
