import { a as FragnoClientError, c as InferOr, d as MaybeExtractPathParamsOrWiden, f as QueryParamsHint, i as ReadableAtom, o as NonGetHTTPMethod, s as FragnoPublicClientConfig } from "../client-Bk-J98pf.js"; import * as zod from "zod"; import { Accessor } from "solid-js"; import * as zod_v4_core0 from "zod/v4/core"; import * as _standard_schema_spec0 from "@standard-schema/spec"; import { StandardSchemaV1 } from "@standard-schema/spec"; //#region ../fragno/dist/client/solid.d.ts //#region src/client/solid.d.ts type FragnoSolidHook<_TMethod extends "GET", TPath$1 extends string, TOutputSchema$1 extends StandardSchemaV1, TErrorCode$1 extends string, TQueryParameters$1 extends string> = (args?: { path?: MaybeExtractPathParamsOrWiden | ReadableAtom>; query?: QueryParamsHint | ReadableAtom>; }) => { data: Accessor>; loading: Accessor; error: Accessor | undefined>; }; type FragnoSolidMutator<_TMethod extends NonGetHTTPMethod, TPath$1 extends string, TInputSchema extends StandardSchemaV1 | undefined, TOutputSchema$1 extends StandardSchemaV1 | undefined, TErrorCode$1 extends string, TQueryParameters$1 extends string> = () => { mutate: (args: { body?: InferOr; path?: MaybeExtractPathParamsOrWiden | ReadableAtom>; query?: QueryParamsHint | ReadableAtom>; }) => Promise>; loading: Accessor; error: Accessor | undefined>; data: Accessor>; }; /** * Type guard to check if a value is a SolidJS Accessor. * * @private */ //#endregion //#region src/client/solid.d.ts declare function createPiFragmentClient(config?: FragnoPublicClientConfig): { useSessions: FragnoSolidHook<"GET", "/sessions", zod.ZodArray; status: zod.ZodEnum<{ active: "active"; paused: "paused"; errored: "errored"; terminated: "terminated"; complete: "complete"; waiting: "waiting"; }>; agent: zod.ZodString; workflowInstanceId: zod.ZodNullable; steeringMode: zod.ZodEnum<{ all: "all"; "one-at-a-time": "one-at-a-time"; }>; metadata: zod.ZodNullable; tags: zod.ZodArray; createdAt: zod.ZodDate; updatedAt: zod.ZodDate; }, zod_v4_core0.$strip>>, string, "limit">; useSession: FragnoSolidHook<"GET", "/sessions/:sessionId", zod.ZodObject<{ id: zod.ZodString; name: zod.ZodNullable; status: zod.ZodEnum<{ active: "active"; paused: "paused"; errored: "errored"; terminated: "terminated"; complete: "complete"; waiting: "waiting"; }>; agent: zod.ZodString; workflowInstanceId: zod.ZodNullable; steeringMode: zod.ZodEnum<{ all: "all"; "one-at-a-time": "one-at-a-time"; }>; metadata: zod.ZodNullable; tags: zod.ZodArray; createdAt: zod.ZodDate; updatedAt: zod.ZodDate; workflow: zod.ZodObject<{ status: zod.ZodEnum<{ active: "active"; paused: "paused"; errored: "errored"; terminated: "terminated"; complete: "complete"; waiting: "waiting"; }>; error: zod.ZodOptional>; output: zod.ZodOptional; }, zod_v4_core0.$strip>; messages: zod.ZodArray; content: zod.ZodUnion; text: zod.ZodString; textSignature: zod.ZodOptional; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"thinking">; thinking: zod.ZodString; thinkingSignature: zod.ZodOptional; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"image">; data: zod.ZodString; mimeType: zod.ZodString; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"toolCall">; id: zod.ZodString; name: zod.ZodString; arguments: zod.ZodRecord; thoughtSignature: zod.ZodOptional; }, zod_v4_core0.$strip>]>>]>; timestamp: zod.ZodNumber; }, zod_v4_core0.$strip>, zod.ZodObject<{ role: zod.ZodLiteral<"assistant">; content: zod.ZodArray; text: zod.ZodString; textSignature: zod.ZodOptional; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"thinking">; thinking: zod.ZodString; thinkingSignature: zod.ZodOptional; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"image">; data: zod.ZodString; mimeType: zod.ZodString; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"toolCall">; id: zod.ZodString; name: zod.ZodString; arguments: zod.ZodRecord; thoughtSignature: zod.ZodOptional; }, zod_v4_core0.$strip>]>>; api: zod.ZodString; provider: zod.ZodString; model: zod.ZodString; usage: zod.ZodObject<{ input: zod.ZodNumber; output: zod.ZodNumber; cacheRead: zod.ZodNumber; cacheWrite: zod.ZodNumber; totalTokens: zod.ZodNumber; cost: zod.ZodObject<{ input: zod.ZodNumber; output: zod.ZodNumber; cacheRead: zod.ZodNumber; cacheWrite: zod.ZodNumber; total: zod.ZodNumber; }, zod_v4_core0.$strip>; }, zod_v4_core0.$strip>; stopReason: zod.ZodString; errorMessage: zod.ZodOptional; timestamp: zod.ZodNumber; }, zod_v4_core0.$strip>, zod.ZodObject<{ role: zod.ZodLiteral<"toolResult">; toolCallId: zod.ZodString; toolName: zod.ZodString; content: zod.ZodArray; text: zod.ZodString; textSignature: zod.ZodOptional; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"thinking">; thinking: zod.ZodString; thinkingSignature: zod.ZodOptional; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"image">; data: zod.ZodString; mimeType: zod.ZodString; }, zod_v4_core0.$strip>, zod.ZodObject<{ type: zod.ZodLiteral<"toolCall">; id: zod.ZodString; name: zod.ZodString; arguments: zod.ZodRecord; thoughtSignature: zod.ZodOptional; }, zod_v4_core0.$strip>]>>; details: zod.ZodOptional; isError: zod.ZodBoolean; timestamp: zod.ZodNumber; }, zod_v4_core0.$strip>]>>; trace: zod.ZodArray; }, zod_v4_core0.$strip>>; summaries: zod.ZodArray; summary: zod.ZodNullable; }, zod_v4_core0.$strip>>; }, zod_v4_core0.$strip>, "WORKFLOWS_REQUIRED" | "SESSION_NOT_FOUND" | "WORKFLOW_INSTANCE_MISSING", string>; useCreateSession: FragnoSolidMutator | zod.ZodObject<{ agent: zod.ZodString; name: zod.ZodOptional; metadata: zod.ZodOptional; tags: zod.ZodOptional>; steeringMode: zod.ZodOptional>; }, zod_v4_core0.$strip> | undefined, zod.ZodObject<{ id: zod.ZodString; name: zod.ZodNullable; status: zod.ZodEnum<{ active: "active"; paused: "paused"; errored: "errored"; terminated: "terminated"; complete: "complete"; waiting: "waiting"; }>; agent: zod.ZodString; workflowInstanceId: zod.ZodNullable; steeringMode: zod.ZodEnum<{ all: "all"; "one-at-a-time": "one-at-a-time"; }>; metadata: zod.ZodNullable; tags: zod.ZodArray; createdAt: zod.ZodDate; updatedAt: zod.ZodDate; }, zod_v4_core0.$strip> | zod.ZodArray; status: zod.ZodEnum<{ active: "active"; paused: "paused"; errored: "errored"; terminated: "terminated"; complete: "complete"; waiting: "waiting"; }>; agent: zod.ZodString; workflowInstanceId: zod.ZodNullable; steeringMode: zod.ZodEnum<{ all: "all"; "one-at-a-time": "one-at-a-time"; }>; metadata: zod.ZodNullable; tags: zod.ZodArray; createdAt: zod.ZodDate; updatedAt: zod.ZodDate; }, zod_v4_core0.$strip>> | undefined, string, string>; useSendMessage: FragnoSolidMutator; steeringMode: zod.ZodOptional>; }, zod_v4_core0.$strip> | undefined, zod.ZodObject<{ status: zod.ZodEnum<{ active: "active"; paused: "paused"; errored: "errored"; terminated: "terminated"; complete: "complete"; waiting: "waiting"; }>; }, zod_v4_core0.$strip> | undefined, "WORKFLOWS_REQUIRED" | "SESSION_NOT_FOUND" | "WORKFLOW_INSTANCE_MISSING", string>; }; //#endregion export { createPiFragmentClient }; //# sourceMappingURL=solid.d.ts.map