import { ProcessStep, Process, ProcessReference, RootProcessStep, InternalProcessStep, DrawingShapeDefinition } from "./models"; import { GuidValue } from "@omnia/fx-models"; import { MultilingualStore } from "@omnia/fx/stores"; import { MultilingualString, EnterprisePropertyDefinition } from "@omnia/fx/models"; import { RecentDocumentType } from "../models"; export declare module OPMUtils { function generateProcessStepExpandState(processStep: RootProcessStep, processStepId: GuidValue): { [processStepId: string]: true; }; function getProcessStepInProcess(processStep: RootProcessStep, desiredProcessStepId: GuidValue): { desiredProcessStep: ProcessStep; parentProcessSteps: Array; }; function generateProcessReference(process: Process, processStepId: GuidValue): ProcessReference; function getAllProcessStepIds(processStep: ProcessStep): string[]; function getUserPrincipleName(loginName: string): string; function createProcessNavigationUrl(process: Process, desiredProcessStep: ProcessStep, previewPageUrl: string, omniaApp: boolean, previewInDesingerIframe?: boolean): string; function getProcessPreviewUrl(processStepId: string, omniaUrl: string, isIframe: boolean): string; function isOPMPreviewMode(): boolean; function isDraftExistsErrMsg(errMsg: string): boolean; function isCheckedOutNotExistsErrMsg(errMsg: string): boolean; function isCheckedOutByOtherErrMsg(errMsg: string): boolean; function isProcessNotFound(errMsg: string): boolean; function waitForElementAvailable(el: Element, elementId: string, callBack: () => void, msToCheck?: number): void; function getTextString(multilingualStore: MultilingualStore, definition: DrawingShapeDefinition, title: string | MultilingualString): string; function openCustomLink(url: string, openNewWindow: boolean): void; function parentFrameIsMsTeams(): boolean; function IsOpenEditorPreview(): boolean; function buildContextIdentifier(appId: GuidValue, processRoute: string): string; function getMaximumLengthOfMultilingualString(multilingualString: MultilingualString): number; } export declare module ODMUtils { function orderBy(input: any, [config]: [string?]): any; function getOfficeClientPrefix(extension: string): string; function addOfficeClientPrefix(url: string): string; function saveRecentDocumentType(documentTypeId: GuidValue): void; function getRecentDocumentTypes(): Array; function getManagedProperty(managedProperties: EnterprisePropertyDefinition[], defaultManagedProperty: string, field: string): string; function isSupportedByOfficeWebApp(fileExtension: string): boolean; function isSupportedByOfficeWebAppWithMsTeams(fileExtension: string): boolean; function correctDateOnlyValue(dateValue: any): Date; function isAllowedToConvertToPDF(fileExtension: string): boolean; function isUrlFileExtension(fileExtension: string): boolean; }