import type { Observable } from 'rxjs';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class ExpandRowService<Data extends Record<string, any>> {
    expandedRow: BehaviorSubject<Data | null>;
    toggleRow(row: Data): void;
    isExpanded(row: Data): boolean;
    isExpanded$(row: Data): Observable<boolean>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ExpandRowService<any>, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ExpandRowService<any>>;
}
