1 | import type FileState from '../FileState.js';
|
2 | import type { ComponentNodePath, Resolver, ResolverClass } from './index.js';
|
3 | declare enum ChainingLogic {
|
4 | ALL = 0,
|
5 | FIRST_FOUND = 1
|
6 | }
|
7 | interface ChainResolverOptions {
|
8 | chainingLogic?: ChainingLogic;
|
9 | }
|
10 | export default class ChainResolver implements ResolverClass {
|
11 | resolvers: Resolver[];
|
12 | options: ChainResolverOptions;
|
13 | static Logic: typeof ChainingLogic;
|
14 | constructor(resolvers: Resolver[], options: ChainResolverOptions);
|
15 | private resolveFirstOnly;
|
16 | private resolveAll;
|
17 | resolve(file: FileState): ComponentNodePath[];
|
18 | }
|
19 | export {};
|