import { type AddChapterPayload, type DeleteChapterPayload, type ChapterManifestPayload, type AnnotationTextPayload, type AnnotationPlacementPayload, type AdvanceModePayload, type AdvanceDelayPayload, type ChapterMetadataPayload, type StoryMetadataPayload, type NarrationTrackPayload } from '../../../core/state/story.svelte'; import type { StoryState } from '../../../core/types/story'; /** * Test helper that wraps the runes store to provide a Readable * for components that expect the old store API. */ export declare function createStoryStoreForTest(initial?: StoryState): { story: import("svelte/store").Writable; addChapterFromCapture(payload: AddChapterPayload): void; deleteChapter(payload: DeleteChapterPayload): void; setChapterManifest(payload: ChapterManifestPayload): void; setAnnotationText(payload: AnnotationTextPayload): void; setAnnotationPlacement(payload: AnnotationPlacementPayload): void; setAdvanceMode(payload: AdvanceModePayload): void; setDelay(payload: AdvanceDelayPayload): void; setChapterTitle(payload: ChapterMetadataPayload): void; setStoryTitle(payload: StoryMetadataPayload): void; setChapterDescription(payload: ChapterMetadataPayload): void; setNarrationTrack(payload: NarrationTrackPayload): void; exportStory(): StoryState; };