import { type PortableState } from "../ts-mode/portable-state.ts"; /** JS-only selected data and reset-survival pins. */ export declare class JsDataStorage { readonly projectKey: string; private readonly project; private readonly profiles; private readonly maxBytes; constructor(agentDir: string, cwd: string, maxBytes: number); readProfile(name: string): Promise; writeProfile(name: string, state: PortableState): Promise; readProject(): Promise; /** Caller holds the whole-notebook lease; pin data is reset-survival state, not a second fork. */ writeProject(candidate: PortableState): Promise; private profile; private read; private write; }