import * as Schema from "effect/Schema";
import { API } from "../client.js";
import * as T from "../traits.js";
const __document = "query experimentation {\n  experimentation {\n    accountConfig\n    deviceConfig\n    deviceExperimentationUnit\n    userConfig\n  }\n}";
// Input Schema (GraphQL variables)
export const ExperimentationInput = Schema.Struct({}).pipe(T.Http({ method: "POST", path: "/graphql" }), T.GraphQLOp({
    query: __document,
    operationName: "experimentation",
    type: "query",
}));
// Output Schema (GraphQL selection set)
export const ExperimentationOutput = Schema.Struct({
    accountConfig: Schema.Unknown,
    deviceConfig: Schema.Unknown,
    deviceExperimentationUnit: Schema.String,
    userConfig: Schema.Unknown,
}).pipe(T.ResponsePath("experimentation"));
/**
 * Top-level query object for querying Experimentation configuration.
 */
export const experimentation = API.make(() => ({
    inputSchema: ExperimentationInput,
    outputSchema: ExperimentationOutput,
}));
//# sourceMappingURL=experimentation.js.map