import type { NodeId } from '@astrale-os/sdk/graph/node'; import type { PathLike } from '@astrale-os/sdk/graph/path'; import type { PolicyRef } from '@astrale-os/sdk/schema'; export type PolicyObject = NodeId | { readonly id: NodeId; }; /** * Evaluate one declared Kernel policy for one exact graph object. This is a UI affordance; the * invoked callable remains the authorization enforcement point. */ export declare function useCan(policy: PathLike | PolicyRef | null | undefined, object: PolicyObject | null | undefined): boolean | undefined; //# sourceMappingURL=can.hook.d.ts.map