1 | /**
|
2 | * @license
|
3 | * Copyright Google Inc. All Rights Reserved.
|
4 | *
|
5 | * Use of this source code is governed by an MIT-style license that can be
|
6 | * found in the LICENSE file at https://angular.io/license
|
7 | */
|
8 | import { CompileReflector } from './compile_reflector';
|
9 | import { Pipe, Type } from './core';
|
10 | /**
|
11 | * Resolve a `Type` for {@link Pipe}.
|
12 | *
|
13 | * This interface can be overridden by the application developer to create custom behavior.
|
14 | *
|
15 | * See {@link Compiler}
|
16 | */
|
17 | export declare class PipeResolver {
|
18 | private _reflector;
|
19 | constructor(_reflector: CompileReflector);
|
20 | isPipe(type: Type): boolean;
|
21 | /**
|
22 | * Return {for a given `Type`.
Pipe} |
23 | */
|
24 | resolve(type: Type, throwIfNotFound?: boolean): Pipe | null;
|
25 | }
|