import { ActionCreator } from './create-action-creator'; import { AnyAction } from './create-action'; import { ExtractAction } from './types'; /** * Filter actions emitted by the source Observable by only emitting those that * are compatible with specified action(s) or action creator(s) or action type(s). * * @example * action$.pipe( * ofType(foo), * ... * ) * @example * action$.pipe( * ofType([foo, bar]), * ... * ) */ export declare function ofType, TSink extends TSource = ExtractAction>(keys: TKey | ReadonlyArray): import("rxjs/internal/types").OperatorFunction;