import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
import { ActionMenuItem } from '@vtj/ui';
import { Props } from '../../shared/panel';
import { OnCleanup } from '@vue/reactivity';
export interface Props {
    url?: string;
}
declare const _default: DefineComponent<Props, {
    refresh: () => void;
    reload: () => void;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
    url: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    panel: ({
        $: ComponentInternalInstance;
        $data: {};
        $props: {
            readonly title?: string | undefined;
            readonly subtitle?: string | undefined;
            readonly plus?: boolean | undefined;
            readonly refresh?: boolean | undefined;
            readonly back?: boolean | undefined;
            readonly edit?: boolean | undefined;
            readonly remove?: boolean | undefined;
            readonly save?: boolean | undefined;
            readonly header?: boolean | undefined;
            readonly collapsable?: boolean | undefined;
            readonly menus?: ActionMenuItem[] | undefined;
            readonly onCommand?: ((...args: any[]) => any) | undefined;
            readonly onRefresh?: ((...args: any[]) => any) | undefined;
            readonly onPlus?: ((...args: any[]) => any) | undefined;
            readonly onBack?: ((...args: any[]) => any) | undefined;
            readonly onEdit?: ((...args: any[]) => any) | undefined;
            readonly onRemove?: ((...args: any[]) => any) | undefined;
            readonly onSave?: ((...args: any[]) => any) | undefined;
        } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
        $attrs: {
            [x: string]: unknown;
        };
        $refs: {
            [x: string]: unknown;
        };
        $slots: Readonly<{
            [name: string]: Slot<any> | undefined;
        }>;
        $root: ComponentPublicInstance | null;
        $parent: ComponentPublicInstance | null;
        $host: Element | null;
        $emit: ((event: "command", ...args: any[]) => void) & ((event: "refresh", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
        $el: any;
        $options: ComponentOptionsBase<Readonly< Props> & Readonly<{
            onCommand?: ((...args: any[]) => any) | undefined;
            onRefresh?: ((...args: any[]) => any) | undefined;
            onPlus?: ((...args: any[]) => any) | undefined;
            onBack?: ((...args: any[]) => any) | undefined;
            onEdit?: ((...args: any[]) => any) | undefined;
            onRemove?: ((...args: any[]) => any) | undefined;
            onSave?: ((...args: any[]) => any) | undefined;
        }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
            command: (...args: any[]) => void;
            refresh: (...args: any[]) => void;
            plus: (...args: any[]) => void;
            back: (...args: any[]) => void;
            edit: (...args: any[]) => void;
            remove: (...args: any[]) => void;
            save: (...args: any[]) => void;
        }, string, {
            header: boolean;
            menus: ActionMenuItem[];
        }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
            beforeCreate?: (() => void) | (() => void)[];
            created?: (() => void) | (() => void)[];
            beforeMount?: (() => void) | (() => void)[];
            mounted?: (() => void) | (() => void)[];
            beforeUpdate?: (() => void) | (() => void)[];
            updated?: (() => void) | (() => void)[];
            activated?: (() => void) | (() => void)[];
            deactivated?: (() => void) | (() => void)[];
            beforeDestroy?: (() => void) | (() => void)[];
            beforeUnmount?: (() => void) | (() => void)[];
            destroyed?: (() => void) | (() => void)[];
            unmounted?: (() => void) | (() => void)[];
            renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
        };
        $forceUpdate: () => void;
        $nextTick: nextTick;
        $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
    } & Readonly<{
        header: boolean;
        menus: ActionMenuItem[];
    }> & Omit<Readonly< Props> & Readonly<{
        onCommand?: ((...args: any[]) => any) | undefined;
        onRefresh?: ((...args: any[]) => any) | undefined;
        onPlus?: ((...args: any[]) => any) | undefined;
        onBack?: ((...args: any[]) => any) | undefined;
        onEdit?: ((...args: any[]) => any) | undefined;
        onRemove?: ((...args: any[]) => any) | undefined;
        onSave?: ((...args: any[]) => any) | undefined;
    }>, "header" | "menus"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
        $slots: {
            actions?(_: {}): any;
            default?(_: {}): any;
            footer?(_: {}): any;
        };
    }) | null;
    frame: HTMLIFrameElement;
}, any>;
export default _default;
