import type { State } from "./state.js"; import type { Channels } from "../configs.js"; /** The channel flags a command of the publish flow accepts. */ export interface ChannelOptions { prod: boolean; next: boolean; experimental: boolean; } export declare const trySetConfigs: (_options: ChannelOptions) => void; /** * Bring back the channel the versions have been determined for, so the commands * running after `library version` don't take the channel flags at all. */ export declare function restoreChannel(state: State): void; /** @deprecated Use {@link getConfig}(`"channel"`) directly */ export declare const detectChannel: () => Channels; //# sourceMappingURL=channel.d.ts.map