import type { ObjectTypeDefinition, Osdk } from "@osdk/api";
import type { ObjectHolder } from "../object/convertWireToOsdkObjects/ObjectHolder.js";
import type { ObserveObjectArgs } from "./ObservableClient.js";
export interface ObjectPayload extends Omit<ObserveObjectArgs<any>, "object"> {
	object: ObjectHolder | undefined;
}
export interface TypedObjectPayload<T extends ObjectTypeDefinition> extends ObjectPayload {
	object: ObjectHolder<Osdk.Instance<T>> & Osdk.Instance<T> | undefined;
}
