import type { PermissionEngineConfig, PermissionMode, PermissionRuleEntry } from "../runtime/ports/index.js";
export interface TurnPermissionRuleEngine {
    setMode(mode: PermissionMode): void;
    replaceRules(rules: PermissionRuleEntry[]): void;
}
export declare function syncTurnPermissionConfig(ruleEngine: TurnPermissionRuleEngine, rawPermissions: unknown): PermissionEngineConfig;
