import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Answer, Answer$Outbound } from "./answer.js";
export type Questionnaire = {
    answers?: Array<Answer> | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
};
/** @internal */
export declare const Questionnaire$inboundSchema: z.ZodType<Questionnaire, z.ZodTypeDef, unknown>;
/** @internal */
export type Questionnaire$Outbound = {
    answers?: Array<Answer$Outbound> | null | undefined;
    id?: string | null | undefined;
    remote_id?: string | null | undefined;
};
/** @internal */
export declare const Questionnaire$outboundSchema: z.ZodType<Questionnaire$Outbound, z.ZodTypeDef, Questionnaire>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Questionnaire$ {
    /** @deprecated use `Questionnaire$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Questionnaire, z.ZodTypeDef, unknown>;
    /** @deprecated use `Questionnaire$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Questionnaire$Outbound, z.ZodTypeDef, Questionnaire>;
    /** @deprecated use `Questionnaire$Outbound` instead. */
    type Outbound = Questionnaire$Outbound;
}
export declare function questionnaireToJSON(questionnaire: Questionnaire): string;
export declare function questionnaireFromJSON(jsonString: string): SafeParseResult<Questionnaire, SDKValidationError>;
//# sourceMappingURL=questionnaire.d.ts.map