/// <reference types="node" />
/// <reference types="bun-types" />
import type { OfficialChannelId } from '../config/unified-config-types';
export type OfficialChannelTokenSource = 'saved_env' | 'process_env' | 'missing';
export interface OfficialChannelTokenStatus {
    available: boolean;
    source: OfficialChannelTokenSource;
    envKey?: string;
    tokenPath?: string;
    savedInClaudeState: boolean;
    processEnvAvailable: boolean;
}
export declare function getOfficialChannelEnvPath(channelId: OfficialChannelId, configDir?: string, envOverrides?: NodeJS.ProcessEnv | null): string;
export declare function normalizeDiscordBotToken(value: string): string | null;
export declare function readOfficialChannelTokenFromEnvContent(channelId: OfficialChannelId, content: string): string | null;
export declare function readConfiguredOfficialChannelToken(channelId: OfficialChannelId): string | null;
export declare function readOfficialChannelTokenFromProcessEnv(channelId: OfficialChannelId, envOverrides?: NodeJS.ProcessEnv | null): string | null;
export declare function hasConfiguredOfficialChannelToken(channelId: OfficialChannelId): boolean;
export declare function getOfficialChannelTokenStatus(channelId: OfficialChannelId, envOverrides?: NodeJS.ProcessEnv | null): OfficialChannelTokenStatus;
export declare function getOfficialChannelReadiness(channelId: OfficialChannelId): boolean;
export declare function setConfiguredOfficialChannelToken(channelId: OfficialChannelId, token: string): string;
export declare function clearConfiguredOfficialChannelToken(channelId: OfficialChannelId): string;
export declare function clearConfiguredOfficialChannelTokensEverywhere(channelId?: OfficialChannelId): string[];
//# sourceMappingURL=official-channels-store.d.ts.map