Spaces:
Sleeping
Sleeping
File size: 1,271 Bytes
be5030f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
import { DateUnit } from '../enum';
import { Chunked } from './chunked';
import { BaseVector } from './base';
import { VectorType as V } from '../interfaces';
import { VectorBuilderOptions } from './index';
import { VectorBuilderOptionsAsync } from './index';
import { Date_, DateDay, DateMillisecond } from '../type';
/** @ignore */
declare type FromArgs<T extends Date_> = [Iterable<Date>, T['unit']];
/** @ignore */
export declare class DateVector<T extends Date_ = Date_> extends BaseVector<T> {
static from<T extends DateUnit.DAY>(...args: FromArgs<DateDay>): V<DateDay>;
static from<T extends DateUnit.MILLISECOND>(...args: FromArgs<DateMillisecond>): V<DateMillisecond>;
static from<T extends Date_, TNull = any>(input: Iterable<Date | TNull>): V<T>;
static from<T extends Date_, TNull = any>(input: AsyncIterable<Date | TNull>): Promise<V<T>>;
static from<T extends Date_, TNull = any>(input: VectorBuilderOptions<T, TNull>): Chunked<T>;
static from<T extends Date_, TNull = any>(input: VectorBuilderOptionsAsync<T, TNull>): Promise<Chunked<T>>;
}
/** @ignore */
export declare class DateDayVector extends DateVector<DateDay> {
}
/** @ignore */
export declare class DateMillisecondVector extends DateVector<DateMillisecond> {
}
export {};
|