1 | import type { DocumentNode, FragmentDefinitionNode } from "graphql";
|
2 | export interface FragmentRegistryAPI {
|
3 | register(...fragments: DocumentNode[]): this;
|
4 | lookup(fragmentName: string): FragmentDefinitionNode | null;
|
5 | transform<D extends DocumentNode>(document: D): D;
|
6 | resetCaches(): void;
|
7 | }
|
8 | export declare function createFragmentRegistry(...fragments: DocumentNode[]): FragmentRegistryAPI;
|
9 | //# sourceMappingURL=fragmentRegistry.d.ts.map |
\ | No newline at end of file |