import * as QuickActions from "./index"; type Href = any; export type RouterAction = Omit & { id: string; title: string; icon?: string | null; /** iOS-only. Subtitle for the action. */ subtitle?: string | null; /** Additional serial parameters for the action. */ params: { /** Href should be defined in router projects. */ href: THref; } & QuickActions.Action["params"]; }; export declare function isRouterAction(action: QuickActions.Action): action is RouterAction; type OptionalPromise = T | Promise; /** * Handle quick actions with `params.href`. * * **Warning:** This should be used inside of a sub-layout route (`app/(root)/_layout.tsx`) and not inside the root layout route (`app/_layout.tsx`) as it will attempt a navigation. * * @param callback optional callback to handle the action. If the callback returns true, the router will **not** handle the action. */ export declare function useQuickActionRouting(callback?: (data: QuickActions.Action) => OptionalPromise): void; export {}; //# sourceMappingURL=router.d.ts.map