/**
 * App-owned adapter from tool registry state into the shared permission
 * compiler. The compiler owns the resulting policy shape.
 */
import type { RuntimePermissionPolicy } from '../../core/permission-policy.js';
import { createDefaultPermissionPolicy } from './compiler.js';
export declare function deriveModePermissionPolicy(toolNames: readonly string[], modeName?: string, workspaceRoots?: string[], persistentApprovals?: RuntimePermissionPolicy['filesystem']['persistentApprovals'], dangerouslySkipRuntimePermissions?: boolean, dangerouslySkipSpreadsheetPermissions?: boolean): RuntimePermissionPolicy;
export { createDefaultPermissionPolicy };
//# sourceMappingURL=policy.d.ts.map