@phi-ag/rvt
Version:
Parse Revit file format
15 lines (14 loc) • 412 B
TypeScript
import { Cfb } from "./cfb/index.js";
export interface OpenPathSuccess {
ok: true;
data: Cfb;
error?: never;
}
export interface OpenPathError {
ok: false;
data?: never;
error: string;
}
export type OpenPathResult = OpenPathSuccess | OpenPathError;
export declare const openPath: (path: string) => Promise<Cfb>;
export declare const tryOpenPath: (path: string) => Promise<OpenPathResult>;