import type { ServerStoryFile, StoryContext } from '../types';
/**
 * Scan for story files matching the configured patterns
 */
export declare function scanStoryFiles(ctx: StoryContext): Promise<ServerStoryFile[]>;
/**
 * Check if a file is a non-component file (layout, page, partial)
 */
export declare function isNonComponentFile(relativePath: string): boolean;
/**
 * Watch for story file changes
 */
export declare function watchStoryFiles(ctx: StoryContext, onChange: (event: 'add' | 'change' | 'unlink', file: ServerStoryFile) => void): () => void;
