import { DataSourceSchema, DataSourceType, DataSourceItem } from '../types';
export declare class DataSource {
    type: DataSourceType;
    items: Array<DataSourceItem>;
    constructor(schema: DataSourceSchema);
    add(item: DataSourceItem): void;
    update(item: DataSourceItem): void;
    replace(id: string, item: DataSourceItem): void;
    remove(id: string): void;
    toSchema(): {
        type: DataSourceType;
        items: DataSourceItem[];
    };
}
