import type { UsePersistedOperationsOptions } from '@graphql-yoga/plugin-persisted-operations'; import type { Plugin } from 'graphql-yoga'; import type { CedarGraphQLContext } from '../types.js'; export type CedarTrustedDocumentOptions = Omit & { /** * Whether to disable the plugin * @default false */ disabled?: boolean; /** * The store to get the persisted operation hash from * Required when the plugin is not disabled */ store?: Readonly>; } & ({ disabled: true; store?: Readonly>; } | { disabled?: false; store: Readonly>; }); /** @deprecated Use `CedarTrustedDocumentOptions` instead. */ export type RedwoodTrustedDocumentOptions = CedarTrustedDocumentOptions; export declare const useCedarTrustedDocuments: (options: CedarTrustedDocumentOptions) => Plugin; //# sourceMappingURL=useCedarTrustedDocuments.d.ts.map