import { z } from 'zod';
import type { ToolExecutionObserver } from './observer.js';
export declare function createReadWorkspaceFileTool(_observer?: ToolExecutionObserver): import("ai").Tool<z.ZodObject<{
    path: z.ZodString;
    startLine: z.ZodOptional<z.ZodNumber>;
    endLine: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    path: string;
    startLine?: number | undefined;
    endLine?: number | undefined;
}, {
    path: string;
    startLine?: number | undefined;
    endLine?: number | undefined;
}>, {
    ok: boolean;
    path: string;
    error: string;
    startLine?: undefined;
    endLine?: undefined;
    totalLines?: undefined;
    content?: undefined;
} | {
    ok: boolean;
    path: string;
    startLine: number;
    endLine: number;
    totalLines: number;
    content: string;
    error?: undefined;
}> & {
    execute: (args: {
        path: string;
        startLine?: number | undefined;
        endLine?: number | undefined;
    }, options: import("ai").ToolExecutionOptions) => PromiseLike<{
        ok: boolean;
        path: string;
        error: string;
        startLine?: undefined;
        endLine?: undefined;
        totalLines?: undefined;
        content?: undefined;
    } | {
        ok: boolean;
        path: string;
        startLine: number;
        endLine: number;
        totalLines: number;
        content: string;
        error?: undefined;
    }>;
};
//# sourceMappingURL=read-workspace-file.d.ts.map