import type { ModuleError, SchemaCacheEntry, SchemaPayload, WithSources } from '@xyo-network/sdk'; /** Result of resolving a schema name via {@link useGetSchemaPayload}. */ export interface UseGetSchemaPayloadResult { notFound: boolean; schemaHuri: SchemaCacheEntry['huri'] | undefined; schemaPayload: SchemaPayload | null | undefined; xyoError: WithSources | undefined; } /** Loads a Huri and schema payload from the schema cache for a schema string. */ declare const useGetSchemaPayload: (schema?: string) => UseGetSchemaPayloadResult; export { useGetSchemaPayload }; //# sourceMappingURL=useGetSchema.d.ts.map