export type PublishedRevByLocation = Record<string, FdoDocRevInfo[]>;
export interface TemplatePublishDialogController {
    publishAll(locations?: FdoInventoryLocation[]): Promise<PublishedRevByLocation>;
    publishAtLocation(location: FdoInventoryLocation): Promise<PublishedRevByLocation>;
    unpublishAll(locations?: FdoInventoryLocation[]): Promise<PublishedRevByLocation>;
    unpublishAtLocation(location: FdoInventoryLocation): Promise<PublishedRevByLocation>;
}
export interface TemplatePublishDialogProps {
    title: string;
    doc: FdoDocRevInfo;
    controller: TemplatePublishDialogController;
    initialPublishedRev?: PublishedRevByLocation | null;
    locations: FdoInventoryLocation[];
    enabledLocations?: FdoInventoryLocation[] | null;
    hideUnpublish?: boolean;
}
