import { type UniffiByteArray } from "./ffi-types.ts"; import { type UniffiReferenceHolder } from "./callbacks.ts"; import { type UniffiRustCallStatus } from "./rust-call.ts"; export type UniffiResult = UniffiReferenceHolder | UniffiRustCallStatus; export declare const UniffiResult: { ready(): UniffiResult; writeError(result: UniffiResult, code: number, buf: UniffiByteArray): UniffiResult; writeSuccess(result: UniffiResult, obj: T): UniffiResult; success(pointee: T): UniffiResult; }; //# sourceMappingURL=result.d.ts.map