import * as fromActions from '../actions/document.actions';
export interface DocumentState {
    convertedDocument: {
        url: string;
        error: string;
    };
    documentId: string;
    pdfPosition: PdfPosition;
    pages: {
        [id: string]: DocumentPages;
    };
    hasDifferentPageSize: boolean;
    rotation: number;
    rotationLoaded: boolean;
    loaded: boolean;
    loading: boolean;
}
export interface DocumentPages {
    numberOfPages: number;
    styles: {
        left: number;
        height: number;
        width: number;
    };
    scaleRotation: {
        scale: string;
        rotation: string;
    };
    viewportScale: number;
}
export interface PdfPosition {
    pageNumber: number;
    scale: number;
    top: number;
    left: number;
    rotation: number;
}
export declare const initialDocumentState: DocumentState;
export declare function docReducer(state: DocumentState, action: fromActions.DocumentActions): DocumentState;
export declare const getDocPages: (state: DocumentState) => {
    [id: string]: DocumentPages;
};
export declare const getDocId: (state: DocumentState) => string;
export declare const getPdfPos: (state: DocumentState) => PdfPosition;
export declare const getHasDifferentPageSizes: (state: DocumentState) => boolean;
export declare const getRotation: (state: DocumentState) => number;
export declare const rotationLoaded: (state: DocumentState) => boolean;
export declare const getConvertedDocument: (state: DocumentState) => {
    url: string;
    error: string;
};
//# sourceMappingURL=document.reducer.d.ts.map