import type { ServerStoryFile } from '@histoire/shared';
/** Physical source selection shared by the Source panel and constrained MCP reader. */
export type StorySourceFile = Pick<ServerStoryFile, 'path' | 'virtual' | 'moduleCode'>;
/** Reads original physical source or generated virtual module without framework parsing. */
export declare function readStorySource(file: StorySourceFile, readPhysical?: (path: string) => Promise<string>): Promise<string | undefined>;
//# sourceMappingURL=story-source.d.ts.map