import { Callback } from './types/Callback';
import { Unlisten } from './types/Unlisten';
export declare class Source<T> {
    private _data;
    private _callback;
    constructor(data?: T);
    set(data: T): void;
    connect(callback: Callback<T>): Unlisten;
}
