export { hasChatThreadDeepLink } from "./chat-thread-url.js"; export declare const SIDEBAR_OPEN_KEY = "agent-native-sidebar-open"; export declare const SIDEBAR_STATE_CHANGE_EVENT = "agent-panel:state-change"; export declare const SIDEBAR_URL_CHANGE_EVENT = "agent-panel:url-change"; export type AgentSidebarStateSource = "app" | "frame"; export type AgentSidebarStateMode = "app" | "code"; export interface AgentSidebarStateChangeDetail { /** Whether the user-visible agent panel is open. */ open: boolean; /** Which surface owns the visible agent panel. */ source: AgentSidebarStateSource; /** Frame protocol mode: "code" is parent-owned, "app" is app-owned. */ mode: AgentSidebarStateMode; } export declare function getAgentSidebarOpenPreferenceKey(storageKey?: string | null): string; export declare function dispatchAgentSidebarStateChange(detail: AgentSidebarStateChangeDetail): void; export declare function setAgentSidebarOpenPreference(open: boolean, storageKey?: string | null): void; export declare function requestAgentSidebarOpen(): void; export declare function getAgentSidebarUrlOpenOverride(): boolean | null; export declare function consumeAgentSidebarUrlOpenOverride(storageKey?: string | null): boolean | null; export declare function subscribeAgentSidebarUrlChanges(listener: () => void): () => void; export declare function getInitialAgentSidebarOpen(defaultOpen: boolean, storageKey?: string | null): boolean; //# sourceMappingURL=agent-sidebar-state.d.ts.map