import { type NabiDoc } from '../schema/index.js'; import { type EditEnv } from '../doc/index.js'; import type { Selection } from '../caret/index.js'; import type { CommandOutcome } from '../editor/index.js'; import type { KeyIntent, OwnerAt, Wing } from './contract.js'; import type { Registry } from './registry.js'; export interface KeyOwner { readonly wing: Wing; readonly owner: OwnerAt; } export declare function keyOwnerAt(doc: NabiDoc, sel: Selection, registry: Registry): KeyOwner | null; export declare function routeKey(intent: KeyIntent, doc: NabiDoc, sel: Selection, env: EditEnv, registry: Registry): CommandOutcome | null; //# sourceMappingURL=owner.d.ts.map