Icard/angular-clarity-master(work.../node_modules/@clr/icons/utils/shape-template-observer.d.ts

15 lines
667 B
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
/**
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import { ShapeTemplateObservables } from '../interfaces/icon-interfaces';
export declare const changeHandlerCallbacks: ShapeTemplateObservables;
export declare class ShapeTemplateObserver {
private static singleInstance;
private callbacks;
static get instance(): ShapeTemplateObserver;
subscribeTo(shapeName: string, changeHandlerCallback: (arg0: string) => void): () => void;
emitChanges(shapeName: string, template: string): void;
}