import { zodAsFactory, zodToFactory } from '@ariestools/sdk'; import type { Payload, WithSources } from '@xyo-network/sdk-protocol'; import * as z from 'zod/mini'; export type StateDictionary = Record; export interface State { state: T; } export declare const ModuleStateSchema: 'network.xyo.module.state' & { readonly __schema: true; }; export type ModuleStateSchema = typeof ModuleStateSchema; export declare const ModuleStateZod: z.ZodMiniObject<{ schema: z.ZodMiniLiteral; state: z.ZodMiniCustom; }, z.core.$strip>; export type ModuleState = Payload, ModuleStateSchema>; export declare const isModuleState: (payload?: TInput) => payload is ModuleState & TInput; export declare const isModuleStateWithSources: (payload?: TInput) => payload is WithSources> & TInput; export declare const asModuleState: ReturnType>; export declare const toModuleState: ReturnType>; /** @deprecated use asModuleState instead */ export declare const asOptionalModuleState: ReturnType>; //# sourceMappingURL=ModuleState.d.ts.map