export type ActionRole = 'cancel' | 'destructive' | 'default'; export interface ActionSheetAction { text: string; value?: any; role?: ActionRole; } export interface ActionSheetOptions { title?: string; actions: ActionSheetAction[]; cancelText?: string; cancelable?: boolean; enablePanToClose?: boolean; blocking?: boolean; maskColor?: string; animationDuration?: number; } export type ActionSheetState = ({ visible: true; } & Required> & Omit) | { visible: false; }; export type ActionSheetListener = (state: ActionSheetState) => void; declare class ActionSheetServiceImpl { private listeners; private current; private resolver?; subscribe(listener: ActionSheetListener): () => void; private notify; show(options: ActionSheetOptions): void; open(options: ActionSheetOptions): Promise; choose(action?: ActionSheetAction): void; cancel(): void; hide(): void; } export declare const ActionSheetService: ActionSheetServiceImpl; export declare const ActionSheet: ActionSheetServiceImpl; export {}; //# sourceMappingURL=ActionSheetService.d.ts.map