import { Component } from '../../../../client/component';
import { Context } from '../../../../client/context';
import HTMLElement_ from '../../../../client/html';
import { Theme } from '../../../../client/theme';
import { System } from '../../../../system';
import { Dict } from '../../../../types/Dict';
export interface Props {
    className?: string;
    style?: Dict<any>;
    attr?: Dict<any>;
    disabled?: boolean;
    color?: string;
    theme?: Theme;
}
export declare const DEFAULT_STYLE: {
    'user-select': string;
    '-webkit-user-select': string;
    '-moz-user-select': string;
    top: string;
    width: string;
    height: string;
    overflow: string;
};
export default class Frame extends HTMLElement_<HTMLDivElement, Props> {
    $$context: Context;
    private _context_unlisten;
    constructor($props: Props, $system: System);
    mountChild(child: Component, commit?: boolean): void;
    onMount(): void;
    private _refresh_sub_context_theme;
    private _get_color;
    private _refresh_sub_context_color;
    private _on_context_color_changed;
    private _on_context_theme_changed;
    onUnmount(): void;
}
