import type { AgentTool } from "../types.js";
import { type TruncationResult } from "./truncate.js";
declare const findSchema: import("@sinclair/typebox").TObject<{
    pattern: import("@sinclair/typebox").TString;
    path: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
    type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
    limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
}>;
export interface FindToolDetails {
    truncation?: TruncationResult;
    resultLimitReached?: number;
}
export interface FindToolOptions {
    /** Backend hooks to use. When omitted, the local filesystem is walked. */
    operations?: any;
    exclude?: string[];
    sort?: "asc" | "desc";
}
export declare function createFindTool(cwd: string, options?: FindToolOptions): AgentTool<typeof findSchema>;
/** Ready-made find tool bound to the process working directory. */
export declare const findTool: AgentTool<import("@sinclair/typebox").TObject<{
    pattern: import("@sinclair/typebox").TString;
    path: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
    type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
    limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
}>, any>;
export {};
