import { type Maybe } from '@dereekb/util';
import { type Observable } from 'rxjs';
export declare enum CompactMode {
    FULL = "full",
    COMPACT = "compact"
}
export interface CompactModeOptions<T> {
    full?: T;
    compact?: T;
}
export interface CompactModeDefaultOptions<T> extends CompactModeOptions<T> {
    defaultMode?: Maybe<CompactMode>;
}
export type CompactModeOption = CompactMode | boolean;
export declare function compactModeFromInput(input: CompactMode | boolean): CompactMode;
export declare function mapCompactModeObs<T>(mode$: Maybe<Observable<CompactMode>>, config: CompactModeDefaultOptions<T>): Observable<Maybe<T>>;
