/**
 * repos-topology.ts — Schema validation for repos.yaml topology fields
 *
 * Story 87-1: Extend repos.yaml schema with ownership and boundaries.
 * Validates the spatial awareness fields that agents use to know which
 * repo owns which paths, what's off-limits, and rendering context.
 */
/** Valid values for the ui_layer field */
export type UiLayer = 'react' | 'cli' | 'none';
/** Topology-extended repo entry */
export interface RepoTopology {
    path: string;
    type: string;
    description: string;
    language?: string;
    build_command?: string;
    test_command?: string;
    lint_command?: string;
    notes?: string;
    owns?: string[];
    never_edit?: string[];
    symlinks?: Record<string, string>;
    ui_layer?: UiLayer;
    components_path?: string;
}
/** Top-level repos.yaml structure */
export interface ReposConfig {
    repos: Record<string, RepoTopology>;
}
/** Validation result */
export interface ValidationResult {
    valid: boolean;
    errors: string[];
}
/**
 * Validate a parsed repos.yaml config for topology schema compliance.
 * Returns { valid, errors } — never throws.
 */
export declare function validateReposTopology(config: unknown): ValidationResult;
/**
 * Load and validate repos.yaml from a file path.
 * Returns the parsed config if valid, or errors if not.
 */
export declare function loadReposConfig(filePath: string): Promise<{
    success: boolean;
    data?: ReposConfig;
    errors?: string[];
}>;
//# sourceMappingURL=repos-topology.d.ts.map