import type { Section } from "./sections"; export declare function createProgramState(init: () => T): readonly [() => T, (value: T) => void]; export declare function createSectionState(key: string, init?: ((section: Section) => T) | (() => T)): readonly [(section: Section) => T, (section: Section, value: T) => void];