export type HistoryDir = 'Back' | 'Fwd' | 'Parent';
export type GotoTarget = 'first' | 'prev' | 'next' | 'last';
/** @hidden Pointer to a document with required settings/parameters */
export interface DocumentMoniker {
    readonly pluginKey: string;
}
/** @hidden */
export type ReportViewerCmd = {
    type: 'Goto';
    payload: {
        target: GotoTarget;
    };
} | {
    type: 'GotoPage';
    payload: {
        pageIndex: number;
        scrollTo?: string;
    };
} | {
    type: 'SetCurrentPage';
    payload: {
        pageIndex: number;
    };
} | {
    type: 'FetchPages';
    payload: {
        startPage: number;
        pageCount: number;
    };
} | {
    type: 'Refresh';
} | {
    type: 'Run';
    payload?: {
        dontCutHistory: boolean;
        gotoPageIndex?: number;
    };
} | {
    type: 'Cancel';
}
/** Resets the pages navigation history. Clears document drill history if `hard` parameter is set to true */
 | {
    type: 'ClearHistory';
    payload: {
        hard?: boolean;
    };
} | {
    type: 'GoHistory';
    payload: {
        direction: HistoryDir;
    };
} | {
    type: 'UpdateView';
} | {
    type: 'OpenDocument';
    payload: DocumentMoniker;
};
/** @hidden */
export type ReportViewerCommandStatus = {
    readonly canGoBack: boolean;
    readonly canGoForward: boolean;
    readonly canRefresh: boolean;
    readonly canCancel: boolean;
    readonly canGoHistoryBack: boolean;
    readonly canGoBackToParent: boolean;
    readonly canGoHistoryForward: boolean;
    readonly canGoHistory: {
        Back: boolean;
        Fwd: boolean;
        Parent: boolean;
    };
};
