import { MaybeRef, ComputedRef } from 'vue'; import { DialogProps, DialogState, DialogMode, DialogEmits } from './types'; import { Emits } from '../'; import { DraggableOptions, ResizableOptions } from '../../directives'; export declare function useState(props: DialogProps, wrapper: MaybeRef): { state: { mode: DialogMode; wrapperWidth: number; wrapperHeight: number; width: number; height: number; left: number; top: number; zIndex: number; dragging: boolean; resizing: boolean; }; normal: ComputedRef; maximized: ComputedRef; minimized: ComputedRef; }; export declare function useStyle(props: DialogProps, state: DialogState): { styles: ComputedRef<{ width: string; height: string; top: string; left: string; zIndex: number; }>; classes: ComputedRef<{ [x: string]: boolean; "is-draggable": boolean; "is-resizable": boolean; 'is-primary': boolean; 'is-pure': boolean; }>; wrapperClass: ComputedRef<{ [x: string]: boolean; 'is-dragging': boolean; 'is-resizing': boolean; }>; modalStyle: ComputedRef<{ zIndex: number; }>; zIndexStyle: ComputedRef<{ zIndex: number; }>; }; export declare function useMethods(props: DialogProps, state: DialogState, emit: Emits): { close: () => Promise; changeMode: (mode: DialogMode) => void; show: () => void; hide: () => void; active: (e: any) => void; submit: () => void; cancel: () => void; }; export declare function useDraggableOptions(props: DialogProps, state: DialogState, emit: Emits, target: MaybeRef): ComputedRef; export declare function useResizableOptions(props: DialogProps, state: DialogState, emit: Emits): ComputedRef; export declare function useComponentInstance(props: DialogProps, panelRef: MaybeRef): { componentInstance: Record; } | undefined;