/** * A yes/no question. Send `instructions`, `criteria`, or both; a question with neither fails with `422`. */ export interface SystemOneNoulQuestion { /** The yes/no question to ask about `state`. A string, or an object or array that is rendered as compact JSON. Send `instructions`, `criteria`, or both. */ instructions?: SystemOneNoulQuestion.Instructions | undefined; /** Optional descriptions of when the answer is yes (`true`) and no (`false`). Only the keys `true` and `false` are accepted. */ criteria?: SystemOneNoulQuestion.Criteria | undefined; } export declare namespace SystemOneNoulQuestion { /** * The question to ask about `state`. A string, or an object or array that is rendered as compact JSON. Optional for `choice` and `score`, where the options alone can carry the question. */ type Instructions = string | Record | unknown[]; /** * Optional descriptions of when the answer is yes (`true`) and no (`false`). Only the keys `true` and `false` are accepted. */ interface Criteria { true?: string | undefined; false?: string | undefined; } }