import type { DestructiveAction, DestructiveActionOptions, DestructiveActionParams } from './useDestructiveActionStore.ts'; /** * Returns a function that accepts a destructive action and optional configuration. * @returns A function that takes an action and options to add to the destructive action queue */ export declare function useDestructiveAction(): (action: DestructiveAction, options?: DestructiveActionOptions) => void; /** * Returns a function that wraps the provided action for destructive confirmation. * @param action - The destructive action to wrap * @returns A function that takes the action's arguments and adds it to the destructive action queue */ export declare function useDestructiveAction(action: DestructiveAction): (...args: TArgs) => void; /** * Returns a function that wraps the provided action with configuration for destructive confirmation. * @param params - The action and its configuration (title, description) * @returns A function that takes the action's arguments and adds it to the destructive action queue */ export declare function useDestructiveAction(params: DestructiveActionParams): (...args: TArgs) => void; //# sourceMappingURL=useDestructiveAction.d.ts.map