/**
 * YAML mode path validator implementation.
 *
 * Handles path validation for the flat template structure:
 * - APIs: apis/ApiName/api.yaml
 * - Pages: pages/PageName/index.tsx
 * - App root: App.tsx
 * - Scope file: scope.ts
 */
import type { PathValidator } from "./path-validator.js";
/**
 * Path validator for YAML mode (flat structure).
 *
 * In YAML mode:
 * - APIs are at apis/ (e.g., apis/MyApi/api.yaml)
 * - Pages are at pages/ (e.g., pages/Home/index.tsx)
 * - App root is App.tsx
 * - Scope files (scope.ts) are protected from direct modification
 */
export declare class YamlPathValidator implements PathValidator {
    readonly apiPrefix = "apis";
    readonly pagesPrefix = "pages";
    readonly appRoot = "App.tsx";
    /**
     * Checks if a path is an API file path.
     * In YAML mode, API files start with "apis/".
     */
    isApiFilePath(filePath: string): boolean;
    /**
     * Checks if a path is a direct page path (pages/xyz.tsx rather than pages/xyz/index.tsx).
     * Direct page paths are not allowed - pages must be in subdirectories.
     */
    isDirectPagePath(filePath: string): boolean;
    /**
     * Checks if a path is a scope file.
     * Scope files are protected from direct modification.
     */
    isScopeFile(filePath: string): boolean;
    /**
     * Get directories that are protected from modification.
     */
    getProtectedDirectories(): readonly string[];
    /**
     * Check if a path should bypass blacklist checks.
     * In YAML mode, apis/ and pages/ directories have special handling.
     */
    shouldBypassBlacklist(_relativePath: string, firstDir: string): boolean;
}
//# sourceMappingURL=yaml-path-validator.d.ts.map