import type { CometHookIntent, CometHookRequest } from '../../platform/process/hook-adapter.js'; import type { CometHookDecision } from '../workflow-contract/hook.js'; import type { NativeChangeState } from './native-types.js'; export type NativeHookIntent = CometHookIntent; export interface NativeHookRequest extends Omit { toolName?: string | null; } export type NativeHookGuardResult = CometHookDecision; export interface ActiveNativeHookChange { workflow: 'native'; name: string; phase: NativeChangeState['phase']; } export declare function listActiveNativeHookChanges(projectRoot: string): Promise; export declare function resolveActiveNativeHookChange(projectRoot: string, name: string): Promise; export declare function parseNativeHookRequest(source: string): NativeHookRequest; export declare function readNativeHookRequest(): Promise; /** Inspect only targets that can be attributed to Native before workflow ownership is resolved. */ export declare function inspectNativeUnownedHookTargets(projectRoot: string, request: NativeHookRequest, options?: { allowCanonicalFormal?: boolean; }): Promise; export declare function inspectNativeHookGuard(projectRoot: string, request: NativeHookRequest, selectedChangeName?: string): Promise; //# sourceMappingURL=native-hook-guard.d.ts.map