import { Injectable, SkipSelf, Optional } from '@angular/core';
import { Subject } from 'rxjs';
import * as i0 from "@angular/core";
/**
 * To modify the labels and text displayed, create a new instance of RSortHeaderIntl and
 * include it in a custom provider.
 * @deprecated No longer being used. To be removed.
 * @breaking-change 13.0.0
 */
export class RSortHeaderIntl {
    constructor() {
        /**
         * Stream that emits whenever the labels here are changed. Use this to notify
         * components if the labels have changed after initialization.
         */
        this.changes = new Subject();
    }
}
RSortHeaderIntl.ɵprov = i0.ɵɵdefineInjectable({ factory: function RSortHeaderIntl_Factory() { return new RSortHeaderIntl(); }, token: RSortHeaderIntl, providedIn: "root" });
RSortHeaderIntl.decorators = [
    { type: Injectable, args: [{ providedIn: 'root' },] }
];
/** @docs-private */
export function R_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl) {
    return parentIntl || new RSortHeaderIntl();
}
/** @docs-private */
export const R_SORT_HEADER_INTL_PROVIDER = {
    // If there is already an RSortHeaderIntl available, use that. Otherwise, provide a new one.
    provide: RSortHeaderIntl,
    deps: [[new Optional(), new SkipSelf(), RSortHeaderIntl]],
    useFactory: R_SORT_HEADER_INTL_PROVIDER_FACTORY
};
//# sourceMappingURL=sort-header-intl.js.map