import React from 'react';
import { PopupProps } from './SheetType';
export interface SheetInstance {
    setVisible: (visible: boolean) => void;
}
export declare const SheetContent: React.Context<boolean>;
declare const Sheet: React.ForwardRefExoticComponent<PopupProps & React.RefAttributes<SheetInstance>>;
export default Sheet;
export interface SheetWrapInstance {
    promiseRef: {
        resolve: (data?: any) => {};
        reject: (data?: any) => {};
    };
    sheetRef: SheetInstance | null;
}
export interface SheetWrapData {
    [page: string]: {
        fn: (options: any) => Promise<any>;
        setVisible?: (visible: boolean) => void;
    };
}
export declare const SheetWrap: React.ForwardRefExoticComponent<{
    children: React.ReactNode;
    setOptions: (options: any) => void;
    data: SheetWrapData;
} & PopupProps & React.RefAttributes<SheetWrapInstance>>;
