/**
 * Adds timestamp fields (createdAt and updatedAt) to an object.
 *
 * @param data - The object to add timestamps to
 * @param updatedAtDate - Optional custom date for the updatedAt field. Defaults to current date
 * @param createdAtDate - Optional custom date for the createdAt field. Defaults to current date
 * @returns A new object containing all properties from the input data plus updatedAt and createdAt fields in ISO format
 *
 * @example
 * ```ts
 * // Add current timestamps
 * const result = withTimestamp({ id: 1, name: 'Test' });
 * // Returns { id: 1, name: 'Test', updatedAt: '2025-10-21T10:00:00.000Z', createdAt: '2025-10-21T10:00:00.000Z' }
 *
 * // Use custom dates
 * const customDate = new Date('2025-01-01');
 * const result = withTimestamp({ id: 1 }, customDate, customDate);
 * // Returns { id: 1, updatedAt: '2025-01-01T00:00:00.000Z', createdAt: '2025-01-01T00:00:00.000Z' }
 * ```
 */
export declare const withTimestamp: <T extends Record<string, unknown>>(data: T, updatedAtDate?: Date, createdAtDate?: Date) => T & {
    updatedAt: string;
    createdAt: string;
};
//# sourceMappingURL=with-timestamp.d.ts.map