import type { IntentRegistry } from '@astrale-os/shell'; import type { IntentPayload } from './envelope.js'; /** Fire-and-forget intent sender returned by {@link useEmitIntent}. */ export interface EmitIntent { (name: K, payload: IntentPayload, /** `to`: `'parent'` (reserved) or a child windowId. Default: the parent, if any. */ opts?: { to?: 'parent' | string; }): void; } /** * Return a stable sender for intents that do not need a reply. Emitted messages * carry no correlation id, so listeners can handle navigation and notifications * without retaining a pending request. */ export declare function useEmitIntent(): EmitIntent; //# sourceMappingURL=emit-intent.hook.d.ts.map