import { OnDestroy, PipeTransform } from '@angular/core';
import { Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export declare class TranslatePipe implements PipeTransform, OnDestroy {
    private _ref;
    private _paginableTranslationSvc;
    value: string;
    lastKey: string | null;
    lastParams: any[];
    translationSubscription: Subscription | undefined;
    /**
     * Updates the value of a key by interpolating the translation and marking for change detection.
     *
     * @param {string} key - a string representing the translation key. This key is used to retrieve the translation value from the
     * translation service.
     * @param {Object} [interpolateParams] - an optional object that contains key-value pairs used for interpolating dynamic values
     * into the translated string. These values can be placeholders in the translation string that are replaced with actual values at runtime.
     */
    updateValue(key: string, interpolateParams?: Object): void;
    /**
     * Takes a query string and optional arguments, checks if the query and arguments have changed since the last call, parses the
     * arguments if they are in string format, updates the value based on the query and arguments, and returns the value.
     *
     * @param {string} query - a string that represents the translation key or query that needs to be transformed.
     * @param {any[]} args - a rest parameter, which means it can accept any number of arguments. In this case, it is used to pass
     * additional parameters to the `transform` function. The `...args` syntax allows you to pass multiple arguments separated by
     * commas, and they will be collected into
     *
     * @returns the value of the translation for the given query and arguments.
     */
    transform(query: string, ...args: any[]): any;
    /**
     * Clean any existing subscription to change events
     */
    private _dispose;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TranslatePipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<TranslatePipe, "translate", true>;
}
