/**
 * @kosService core.subscribe
 * @kosApiLevel 2
 */
export interface IKosSubscriptionHandlerParams<T, M> {
    topic: string;
    condition?: (payload: T, model: M) => boolean;
    handler: Function;
    websocket?: boolean;
    skipParse?: boolean;
}
/**
 * @kosService core.subscribe
 * @kosApiLevel 2
 * @kosDeprecated {replacement: @kosTopicHandler, removeAt: 3}
 */
export declare const kosSubscribe: <T = unknown, M = unknown>({ topic, handler, websocket, condition, }: IKosSubscriptionHandlerParams<T, M>) => (target: T) => void;
//# sourceMappingURL=kosSubscribe.d.ts.map