import { type TProperties } from '../../types/properties.mjs'; import { type TSchema } from '../../types/schema.mjs'; import { type TState, type TInstantiateType, type TCanInstantiate } from '../instantiate.mjs'; import { type TWithDeferred, type TWith } from '../../action/with.mjs'; export type TWithAction extends true ? TWith : TWithDeferred> = Result; export declare function WithAction(type: Type, options: Options): TWithAction; export type TWithInstantiate> = TWithAction; export declare function WithInstantiate(context: Context, state: State, type: Type, options: Options): TWithInstantiate;