import { RenderResult } from '@dojo/framework/core/interfaces'; /** * Enum for left / right alignment */ export declare type Align = 'bottom' | 'left' | 'right' | 'top'; export interface SlidePaneProperties { /** The position of the pane on the screen */ align?: Align; /** Custom aria attributes */ aria?: { [key: string]: string | null; }; /** Hidden text used by screen readers to display for the close button */ closeText?: string; /** Called when the pane is swiped closed or the underlay is clicked or tapped */ onRequestClose?(): void; /** Determines whether the pane is open or closed */ open?: boolean; /** Determines whether a semi-transparent background shows behind the pane */ underlay?: boolean; /** Width of the pane in pixels */ width?: number; } declare enum Slide { in = 0, out = 1 } export interface SlidePaneICache { initialPosition: number; slide: Slide | undefined; swiping: boolean | undefined; titleId: string; transform: number; hasMoved: boolean; open: boolean; } export interface SlidePaneChildren { /** The title of the slide pane */ title?: RenderResult; /** The slide pane content */ content?: RenderResult; } export declare const SlidePane: import("@dojo/framework/core/interfaces").OptionalWNodeFactory<{ properties: SlidePaneProperties & import("@dojo/framework/core/interfaces").WidgetProperties & { variant?: "default" | "inherit" | undefined; } & import("@dojo/framework/core/middleware/theme").ThemeProperties & import("@dojo/framework/core/interfaces").I18nProperties; children: SlidePaneChildren; }>; export default SlidePane;