import { ColumnDataSource } from "./column_data_source"; import { UpdateMode } from "../../core/enums"; import type { CallbackLike1 } from "../../core/util/callbacks"; import type { Data } from "../../core/types"; import type * as p from "../../core/properties"; import type { Arrayable } from "../../core/types"; export type AdapterFn = CallbackLike1>; export declare namespace WebDataSource { type Attrs = p.AttrsOf; type Props = ColumnDataSource.Props & { max_size: p.Property; mode: p.Property; adapter: p.Property; data_url: p.Property; }; } export interface WebDataSource extends WebDataSource.Attrs { } export declare abstract class WebDataSource extends ColumnDataSource { properties: WebDataSource.Props; constructor(attrs?: Partial); get_column(name: string): Arrayable; get_length(): number; abstract setup(): void; initialize(): void; load_data(raw_data: any, mode: UpdateMode, max_size?: number): Promise; } //# sourceMappingURL=web_data_source.d.ts.map