import type { ActionSheetButton, ActionSheetOptions } from '@familyjs/core/components'; import type { HookOverlayOptions } from './HookOverlayOptions'; /** * A hook for presenting/dismissing an FmlActionSheet component * @returns Returns the present and dismiss methods in an array */ export declare function useFmlActionSheet(): UseFmlActionSheetResult; export type UseFmlActionSheetResult = [ { /** * Presents the action sheet * @param buttons An array of buttons for the action sheet * @param header Optional - Title for the action sheet */ (buttons: ActionSheetButton[], header?: string | undefined): Promise; /** * Presents the action sheet * @param options The options to pass to the FmlActionSheet */ (options: ActionSheetOptions & HookOverlayOptions): Promise; }, /** * Dismisses the action sheet */ () => Promise ];