import { Template } from '../../interfaces'; import { AttributeValue, ElementFormData } from '../../interfaces/element.interface'; import { Element } from '../element'; export declare enum CommitState { PROVISIONAL = 0, STAGED = 1, IN_PROGRESS = 2, COMMITTED = 3, ERRORED = 4 } type GConstructor = new (...args: any[]) => T; export declare const isLocal: (Base: TBase) => { new (...args: any[]): { state: CommitState; createQueue: /*elided*/ any[]; setHash(hash: string): void; publish(parent?: Element): Promise; update(data?: ElementFormData): Promise; setAttributeValue(attribute: string, value: AttributeValue, isPublic?: boolean): boolean; resolveQueue(): Promise<(string | null)[]>; childrenData: import("../../interfaces").ElementData[]; originalData?: import("../../interfaces").ElementData; data?: import("../../interfaces").ElementData; dataHash?: string; children: Element[]; childrenCount?: number; workRecords: Map; workRecordsCount?: number; effects: Record>; relationElements: { [attribute: string]: Element[]; }; references: { [attribute: string]: Element[]; }; interalListingHashes: string[]; predecessors?: Element[]; predecessorsCount?: number; hash: string; store: import("../../stores").MainStore; completeData: boolean; loading: boolean; loadingPromise: Promise | undefined; errored?: Error; dirty: boolean; source: import("../../interfaces").DataSource; parent?: Element; autoSave: boolean; saveHandler: () => void; onChangeDataHash: () => void; listeners: (() => void)[]; changeListenerRef?: () => void; getChangeListenerTopic(): string | undefined; registerChangeListener(): () => void; destructor(): void; getPrefilledAttributes(): Record; readonly mapLabel: string | null; readonly markerConfig: import("../../interfaces").MarkerConfig; readonly elementName: string; readonly organization: string | undefined; readonly sortValue: string; readonly type: string | undefined; readonly displayType: string; addInteralListingHash(hash: string): void; initialize(): Promise; readonly privileges: import("../../services").ElementPrivileges | undefined; getEditableAttributes(): string[]; extendElementData(data?: Partial, onlyAcceptNewerTimestamp?: boolean): void; setAttributes(values: ElementFormData): Record; getAttributeFile(attribute: string): import("../../interfaces").AttributeFileData | undefined; getAttributeFirstFileUri(attribute: string, size?: import("../../interfaces").eDocuImageSize): string | undefined; getAttributeElementValue(attribute: string, onlyModel?: new (...params: unknown[]) => T): T[] | undefined; getAttributeTextValue(attribute: string): string; loadRaw(force?: boolean): Promise | undefined>; loadElementQuery(queryParams: import("../../services").ElementGetQueryParams): Promise; loadData(force?: boolean, queryParams?: import("../../services").ElementGetQueryParams): Promise | undefined>; setResponseScopeData(response?: import("../../interfaces").GetElementV1Response | import("../../interfaces").GetElementV2Response): void; loadAttributes(attributes: string[]): Promise; createWorkRecord(data: import("../../interfaces").WorkRecordData): Promise; createCountingWorkRecord(data: import("../../interfaces").WorkRecordData): Promise; instantiateReferences(references: { [attribute: string]: import("../../interfaces").ElementData[]; }): Record; loadRelation(relation: string): Promise; togglePublishAttributes(publish: boolean): Promise; updateDataHash(): void; getLocalFiles(modified: import("../../interfaces").DehydratedElementData): { files: import("../../interfaces").PreparedFiles[]; fileAttributes: string[]; }; autoUpdate(): false | Promise | undefined; uploadFiles(files: import("../../interfaces").PreparedFiles[]): Promise<{ ok: boolean; files: import("../../interfaces").PreparedFiles[]; error?: Error; } | void>; dispose(): void; performFileAction(action: "archived" | "relevant" | "public", attribute: string, fileHash: string): Promise; archive(): Promise; unarchive(): Promise; readonly elementSchemaId: import("../../interfaces").SchemaId | undefined; readonly template: import("../../interfaces").ElementTemplateV1 | Template | undefined; getAttributeType(attributeKey: string): import("../../interfaces").AttributeType | undefined; isAttributeMultiple(attributeKey: string): boolean; readonly typeData: import("../../interfaces").AttributeDefinitions | import("../../interfaces").ElementSchema | undefined; getAttributeDefinition(attribute: string): import("../../interfaces").AttributeDefinition | undefined; attributeExists(attribute: string): boolean; getAttributeRawValue(attribute: string): AttributeValue | undefined; getAttributeValue(attribute: string): AttributeValue | import("../../interfaces").AttributeFileData | undefined; hydrateRelationElements(): void; performUpdate(modified: import("../../interfaces").ElementAttributeData, original: import("../../interfaces").ElementAttributeData): Promise; getEffects(attribute: string): import("../../interfaces").AttributeModifier["effects"]; computeEffects(template: Template): void; getEvaluatedEffects(template?: Template): Record; }; } & TBase; export {};