/** Discover all .sdoc files matching the include patterns */ export declare function discoverDocFiles(include: string[], root: string): Promise; /** The static directory prefix of a glob pattern — every path segment before * the first one containing glob magic. A literal file path returns its own * directory. Watching these roots recursively catches docs added in * brand-new directories, which per-file watching never sees. */ export declare function globBase(pattern: string): string;