import type { ActionSheetData, ActionSheetListCloseData } from '../types/action-sheet'; /** * Displays a global action sheet dialog and waits for user interaction. * Creates a singleton action sheet element if one doesn't exist, or reuses the existing one. * Automatically manages scroll locking on the body and specified elements while the sheet is open. * * @param data - Configuration object defining the action sheet content and behavior * @param selectors - Optional array of CSS selectors for additional elements to disable scrolling on * @returns A promise that resolves with the user's selection when the action sheet closes * * @example * ```typescript * // Simple action sheet with options * const result = await showActionSheet({ * type: 'list', * options: [ * { label: 'Edit', value: 'edit' }, * { label: 'Delete', value: 'delete' } * ] * }); * * // With additional scroll-locked elements * const result = await showActionSheet(data, ['.scrollable-container', '#main-content']); * ``` */ export declare const showActionSheet: (data: ActionSheetData, selectors?: string[]) => Promise; //# sourceMappingURL=action-sheet.d.ts.map