import { BaseDataSource, BaseDataSourceMetadata } from '@rxap/data-source';
import { InjectionToken } from '@angular/core';
import { AbstractControl } from '@rxap/forms';
import * as i0 from "@angular/core";
export declare const RXAP_FORM_CONTROL_SOURCE: InjectionToken<unknown>;
export declare class ControlDataSource extends BaseDataSource {
    private readonly control;
    constructor(control: AbstractControl, metadata?: BaseDataSourceMetadata | null);
    init(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ControlDataSource, [null, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ControlDataSource>;
}
export declare function controlDataSource(control: AbstractControl): ControlDataSource;
