import type { DaoCoreConfig } from "../config/types.daocore.js";
import { type SecretInputUnresolvedReasonStyle } from "./resolve-configured-secret-input-string.js";
type GatewayAuthTokenResolutionSource = "explicit" | "config" | "secretRef" | "env";
type GatewayAuthTokenEnvFallback = "never" | "no-secret-ref" | "always";
export declare function resolveGatewayAuthToken(params: {
    cfg: DaoCoreConfig;
    env: NodeJS.ProcessEnv;
    explicitToken?: string;
    envFallback?: GatewayAuthTokenEnvFallback;
    unresolvedReasonStyle?: SecretInputUnresolvedReasonStyle;
}): Promise<{
    token?: string;
    source?: GatewayAuthTokenResolutionSource;
    secretRefConfigured: boolean;
    unresolvedRefReason?: string;
}>;
export {};
