import type { Action } from "../../../contexts/router/types";
/**
 * Returns the action from the router.
 *
 * Additionally, if an action is provided as a parameter, it will be used instead of the inferred action.
 *
 * @internal usage only
 */
export declare const useAction: (action?: Action) => Action | undefined;
//# sourceMappingURL=index.d.ts.map