/// <reference path="../../../vendor/react/react.d.ts" />
//@ts-ignore
import { Component } from 'react';
import { GcImageViewer } from '../../GcImageViewer';
export declare type SecondToolbarControlProps = {
    viewer: GcImageViewer;
};
export declare type SecondToolbarControlModel = {
    shown?: boolean;
    toolbarKey: string;
    hasDocument: boolean;
    supportApiEnabled: boolean;
    marginTop?: number;
};
export declare class SecondToolbarControl extends Component<SecondToolbarControlProps, SecondToolbarControlModel> {
    _mounted: boolean;
    constructor(props: SecondToolbarControlProps, context: any);
    componentDidMount(): void;
    componentWillUnmount(): void;
    onParentStateChanged(): void;
    confirmChanges(): Promise<void>;
    cancelChanges(): Promise<void>;
    render(): JSX.Element | null;
    get toolbarName(): string;
    get isShown(): boolean;
    set marginTop(marginTop: number);
    get marginTop(): number;
    hide(): Promise<void>;
    show(toolbarKey?: string, options?: {
        marginTop?: number;
    }): Promise<void>;
}
