import type { FffFileCandidate } from "./types.js"; declare const RuntimeInitializationError_base: import("better-result").TaggedErrorClass<"RuntimeInitializationError", { cwd: string; step: string; cause: unknown; message: string; }>; export declare class RuntimeInitializationError extends RuntimeInitializationError_base { constructor(args: { cwd: string; step: string; cause: unknown; }); } declare const FinderOperationError_base: import("better-result").TaggedErrorClass<"FinderOperationError", { operation: string; reason: string; cause?: unknown; message: string; }>; export declare class FinderOperationError extends FinderOperationError_base { constructor(args: { operation: string; reason: string; cause?: unknown; }); } declare const EmptyPathQueryError_base: import("better-result").TaggedErrorClass<"EmptyPathQueryError", { query: string; message: string; }>; export declare class EmptyPathQueryError extends EmptyPathQueryError_base { constructor(args: { query: string; }); } declare const EmptyFileQueryError_base: import("better-result").TaggedErrorClass<"EmptyFileQueryError", { query: string; message: string; }>; export declare class EmptyFileQueryError extends EmptyFileQueryError_base { constructor(args: { query: string; }); } declare const MissingPathError_base: import("better-result").TaggedErrorClass<"MissingPathError", { query: string; reason: string; message: string; }>; export declare class MissingPathError extends MissingPathError_base { constructor(args: { query: string; reason: string; }); } declare const AmbiguousPathError_base: import("better-result").TaggedErrorClass<"AmbiguousPathError", { query: string; candidates: FffFileCandidate[]; message: string; }>; export declare class AmbiguousPathError extends AmbiguousPathError_base { constructor(args: { query: string; candidates: FffFileCandidate[]; }); } declare const InvalidFindFilesCursorError_base: import("better-result").TaggedErrorClass<"InvalidFindFilesCursorError", { query: string; cursor: string; message: string; }>; export declare class InvalidFindFilesCursorError extends InvalidFindFilesCursorError_base { constructor(args: { query: string; cursor: string; }); } declare const InvalidGrepCursorError_base: import("better-result").TaggedErrorClass<"InvalidGrepCursorError", { cursor: string; message: string; }>; export declare class InvalidGrepCursorError extends InvalidGrepCursorError_base { constructor(args: { cursor: string; }); } declare const GrepCursorMismatchError_base: import("better-result").TaggedErrorClass<"GrepCursorMismatchError", { cursor: string; message: string; }>; export declare class GrepCursorMismatchError extends GrepCursorMismatchError_base { constructor(args: { cursor: string; }); } export type PathResolutionError = EmptyPathQueryError | MissingPathError | AmbiguousPathError | RuntimeInitializationError | FinderOperationError; export type FindFilesError = EmptyFileQueryError | InvalidFindFilesCursorError | RuntimeInitializationError | FinderOperationError; export type RelatedFilesError = PathResolutionError | FinderOperationError; export type GrepSearchError = InvalidGrepCursorError | GrepCursorMismatchError | PathResolutionError | FinderOperationError; export {}; //# sourceMappingURL=errors.d.ts.map