/** * Copy properties from `source` to `destination` * * - Similar to `Object.assign()` * - Also, sets the same prototype * - Also, checks if there are no getters or setters in `source` * * @example * * ```ts * const source = { a: 1 } * const destination = { b: 2 } * assign(destination, source) // `destination` is `{a: 1, b: 2}` * ``` * * @param destination - Object to copy properties to * @param source - Object to copy properties from * @throws If `source` has getters or setters */ export declare function assign(destination: T, source: T, options?: { omit?: Iterable | undefined; } | undefined): void; //# sourceMappingURL=assign.d.ts.map