/**
 * DocsReader Utility
 * Issue #264: Documentation retrieval for docs command
 *
 * [SF-003] SRP: Separated from docs command handler.
 * This utility manages section mapping, path resolution, file reading, and search logic.
 * The command handler (docs.ts) only handles argument parsing and output formatting.
 *
 * Security:
 * - [SEC-SF-002] Search query length limit (MAX_SEARCH_QUERY_LENGTH = 256)
 * - Path traversal prevention via SECTION_MAP whitelist
 * - [SF-004] package.json anchor-based path resolution
 *
 * @module docs-reader
 */
/**
 * Get list of available documentation section names.
 */
export declare function getAvailableSections(): string[];
/**
 * Check if a section name is valid (exists in the whitelist or embedded).
 */
export declare function isValidSection(section: string): boolean;
/**
 * Read the content of a documentation section.
 * Checks embedded sections first (always available), then file-based sections.
 *
 * @param section - Section name (must be in SECTION_MAP or EMBEDDED_SECTIONS)
 * @throws Error if section is invalid or file cannot be read
 */
export declare function readSection(section: string): string;
/**
 * Search documentation for a query string.
 * Uses String.prototype.includes() for case-insensitive matching (no regex).
 *
 * @param query - Search query (max 256 characters)
 * @throws Error if query exceeds MAX_SEARCH_QUERY_LENGTH
 */
export declare function searchDocs(query: string): Array<{
    section: string;
    matches: string[];
}>;
//# sourceMappingURL=docs-reader.d.ts.map