import { ResolverFactory } from "oxc-resolver"; //#region src/oxlint/architecture.d.ts export interface ArchitectureOptions { cwd?: string; convexDir?: string; /** Additional component roots, relative to convexDir. */ componentDirs?: readonly string[]; /** Build these registries to surface deferred configuration errors in tests. */ registries?: readonly object[]; } export interface ArchitectureDiagnostic { code: 'missing-root' | 'root-directory' | 'tests' | 'test-location' | 'parse' | 'cycle' | 'symlink' | 'domain-entry' | 'shared-owner'; file: string; message: string; } /** Full-project checks, independent of the consumer's test runner. No persistent cache. */ export declare function inspectArchitecture(options?: ArchitectureOptions): ArchitectureDiagnostic[]; export declare function createResolver(symlinks?: boolean): ResolverFactory; export declare function resolveImport(resolver: ResolverFactory, filename: string, source: string): string | null; /** The lint rule runs the project scan on one deterministic source file. */ export declare function architectureAnchor(root: string): string | null; /** Only these two factory declarations may omit root business ownership. */ export declare function narrowRootDeclaration(file: string, source: string): boolean; //#endregion //# sourceMappingURL=architecture.d.mts.map