export declare class ObjectId { private id; _id: this; readonly _bsontype: "ObjectId"; constructor(id?: string | number | ObjectId); static generate(): string; /** * Creates an ObjectId from a Unix timestamp (seconds since epoch). * The remaining bytes are set to zero. */ static createFromTime(time: number): ObjectId; /** * Creates an ObjectId from a 24-character hex string. * Explicit factory method matching mongoose API. */ static createFromHexString(hexString: string): ObjectId; toString(): string; /** * Returns the ObjectId as a 24-character hex string. * Alias for toString() - matches mongoose/bson API. */ toHexString(): string; toJSON(): string; equals(other: ObjectId | string | null | undefined): boolean; getTimestamp(): Date; static isValid(id: unknown): boolean; } //# sourceMappingURL=objectid.d.ts.map