import type { SessionState } from './state.js'; /** * Returns the name of the active session from CLI options or the CONTENTFUL_CMS_SESSION env var. * Used by all commands to support named, isolated sessions (--session ). */ export declare function resolveSessionName(cliName?: string): string | undefined; export declare function loadSession(spaceId?: string, rootEntryId?: string, sessionName?: string): Promise; export declare function saveSession(state: SessionState, sessionName?: string): Promise; export declare function clearSession(spaceId: string, rootEntryId: string, sessionName?: string): Promise; export declare function clearAllSessions(): Promise; /** * Loads the active session or throws a helpful error if none exists. * Pass `sessionName` (or set CONTENTFUL_CMS_SESSION) to target a named session. */ export declare function requireSession(sessionName?: string, configPath?: string): Promise; //# sourceMappingURL=store.d.ts.map