import { AcApOpenFileErrorParams } from '@mlightcad/cad-simple-viewer'; import { AcDbOpenDatabaseErrorCode } from '@mlightcad/data-model'; export type OpenFileErrorParams = AcApOpenFileErrorParams; type TranslateFn = (key: string, params?: Record) => string; /** * Resolves a detailed open-file failure message for the notification center. */ export declare function resolveOpenFileErrorMessage(t: TranslateFn, params: OpenFileErrorParams): string; /** * Resolves a short open-file failure toast (details live in the notification center). */ export declare function resolveOpenFileErrorToastMessage(t: TranslateFn, params: OpenFileErrorParams): string; /** * Resolves a notification title for an open-file failure. */ export declare function resolveOpenFileErrorTitle(t: TranslateFn, errorCode?: AcDbOpenDatabaseErrorCode): string; export {}; //# sourceMappingURL=openFileErrorMessage.d.ts.map