import { AcEdEvents } from '@mlightcad/cad-simple-viewer'; import { AcDbOpenDatabaseErrorCode } from '@mlightcad/data-model'; export type OpenFileErrorParams = AcEdEvents['failed-to-open-file']; type TranslateFn = (key: string, params?: Record) => string; /** * Resolves a user-facing open-file failure message from structured error metadata. */ export declare function resolveOpenFileErrorMessage(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