import type { InspectMode } from './schema.js';
export declare const VALID_MODES: InspectMode[];
export declare const JSON_OUTPUT_INDENT = 2;
export type InspectToolResult = {
    success: boolean;
    output?: string;
    error?: string;
};
export declare function resolvePath(projectRoot: string, inputPath: string): string;
export declare function requireExistingFilePath(projectRoot: string, inputPath: string, notFoundPrefix: string): string;
export declare function summarizeInspectValue(mode: InspectMode, value: unknown): unknown;
export declare function serializeInspectOutput(value: unknown, format: string, mode: InspectMode): string;
export declare function walk(dir: string, filter: (p: string) => boolean, skipDirs?: Set<string>, depth?: number): Promise<string[]>;
export declare function safeRead(filePath: string): string;
export declare function createInspectFailure(error: string): InspectToolResult;
export declare function createInspectSuccess(output: unknown, format: string, mode: InspectMode): InspectToolResult;
export declare function readRequiredFile(projectRoot: string, inputFile: string | undefined, mode: string, errorMessage: string): {
    filePath: string;
    content: string;
} | InspectToolResult;
//# sourceMappingURL=shared.d.ts.map