import type { ToolMap } from '../project-schema/index.ts';
import type { LayerSchema, NamedToolJSON } from '../types/index.ts';
export declare const TOOL_SCHEMA_PATH: readonly ["tools"];
export declare function getToolMap(projectSchema: LayerSchema): ToolMap | undefined;
export declare function getTools(projectSchema: LayerSchema): NamedToolJSON[];
export declare function getToolNames(projectSchema: LayerSchema): string[];
export declare function getTool(layer: LayerSchema, toolRef: string): NamedToolJSON | undefined;
export declare function setTools<S extends Partial<LayerSchema>>(layer: S, tools: NamedToolJSON[]): S;
export declare function setTool<S extends Partial<LayerSchema>>(layer: S, namedTool: NamedToolJSON): S;
export declare function removeTools<S extends Partial<LayerSchema>>(layer: S, toolNames: string[]): S;
