import { type Observable } from 'rxjs'; export declare const shareByKey: (sub: (key: string) => Observable) => ((key: string) => Observable);