import { ContentFamily, EndpointUrls, ViewableDocumentPage } from '@procore/labs-markup-toolbars/dist/src/store/storeTypes';
import { ViewerPluginProps } from '../../shared/BasePluginTypes';
import { AnalyticsProperties, UniqueUserKey, PusherData } from '../submittals/apiTypes';
declare enum InvalidRenameRelationEnum {
    Form = "Form",
    Document = "Document",
    Drawing = "Drawing",
    Photo = "Photo"
}
export declare type InvalidRenameRelation = InvalidRenameRelationEnum | null;
export interface ProstoreDocument {
    basename: string;
    extension: string;
    name: string;
    id: number | string;
    has_markup: boolean;
    is_restricted: boolean;
    size: number | null;
    created_at: string;
    updated_at: string;
    content_family: ContentFamily;
    invalid_rename_relation: InvalidRenameRelation;
}
export interface DocumentViewerDocument {
    pages: ViewableDocumentPage[];
    analytics_properties: AnalyticsProperties;
    document: ProstoreDocument;
    unique_user_key: UniqueUserKey;
    urls: EndpointUrls;
    pusher_data: PusherData;
}
export interface DocumentViewerDocumentArgs {
    id: ViewerPluginProps['attachmentId'];
    projectId: ViewerPluginProps['project']['id'];
    itemId?: string;
    itemType?: string;
    versionDatetime?: string;
    onError?(errorCode: number): void;
}
export {};
