import { TNode, Value } from '@tempots/dom';
import { OverlayEffect } from '../theme/types';
export type OverlayOptions = {
    effect?: Value<OverlayEffect>;
    mode?: Value<'capturing' | 'non-capturing'>;
    onClickOutside?: () => void;
    onEscape?: () => void;
    content?: TNode;
    container?: 'body' | 'element';
};
export declare function Overlay(fn: (open: (options: OverlayOptions) => void, close: () => void) => TNode): import("@tempots/dom").Renderable;
