createCopilotState()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Create an independent, empty workflow state.
export declare function createCopilotState<TBuild extends string = CopilotBuildType>(): ICopilotSnapshot<TBuild>;
Returns
ICopilotSnapshot<TBuild>