/**
 * Workspace tool constants and utilities.
 *
 * Inlined from @mastra/core/workspace to avoid import compatibility
 * issues with older core versions that don't have the workspace module.
 */
export declare const WORKSPACE_TOOLS_PREFIX: "mastra_workspace";
export declare const WORKSPACE_TOOLS: {
    readonly FILESYSTEM: {
        readonly READ_FILE: "mastra_workspace_read_file";
        readonly WRITE_FILE: "mastra_workspace_write_file";
        readonly EDIT_FILE: "mastra_workspace_edit_file";
        readonly LIST_FILES: "mastra_workspace_list_files";
        readonly DELETE: "mastra_workspace_delete";
        readonly FILE_STAT: "mastra_workspace_file_stat";
        readonly MKDIR: "mastra_workspace_mkdir";
    };
    readonly SANDBOX: {
        readonly EXECUTE_COMMAND: "mastra_workspace_execute_command";
    };
    readonly SEARCH: {
        readonly SEARCH: "mastra_workspace_search";
        readonly INDEX: "mastra_workspace_index";
    };
};
export type WorkspaceToolName = (typeof WORKSPACE_TOOLS.FILESYSTEM)[keyof typeof WORKSPACE_TOOLS.FILESYSTEM] | (typeof WORKSPACE_TOOLS.SEARCH)[keyof typeof WORKSPACE_TOOLS.SEARCH] | (typeof WORKSPACE_TOOLS.SANDBOX)[keyof typeof WORKSPACE_TOOLS.SANDBOX];
/**
 * Configuration for a single workspace tool.
 */
export interface WorkspaceToolConfig {
    enabled?: boolean;
    requireApproval?: boolean;
    requireReadBeforeWrite?: boolean;
}
/**
 * Configuration for workspace tools.
 */
export type WorkspaceToolsConfig = {
    enabled?: boolean;
    requireApproval?: boolean;
} & Partial<Record<WorkspaceToolName, WorkspaceToolConfig>>;
/**
 * Resolve the effective configuration for a workspace tool.
 * Inlined from @mastra/core/workspace for compatibility.
 */
export declare function resolveToolConfig(toolsConfig: WorkspaceToolsConfig | undefined, toolName: WorkspaceToolName): {
    enabled: boolean;
    requireApproval: boolean;
    requireReadBeforeWrite?: boolean;
};
//# sourceMappingURL=constants.d.ts.map