import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class ValidateTemplate extends APIResource { /** * Validate a template configuration */ validate(body?: ValidateTemplateValidateParams | null | undefined, options?: RequestOptions): APIPromise; } export interface ValidateTemplateValidateResponse { /** * Whether the template validation succeeded */ success: boolean; /** * Error message if validation failed */ error?: string | null; } export interface ValidateTemplateValidateParams { /** * Meta information for the request */ meta?: ValidateTemplateValidateParams.Meta | null; /** * Format for the response */ response_format?: 'DIFF' | 'CHANGED_FILES' | 'ALL_FILES' | null; /** * ID of the template */ template_id?: string | null; /** * Full path to the template to use for validation */ template_path?: string | null; templateId?: string; templateName?: string; } export declare namespace ValidateTemplateValidateParams { /** * Meta information for the request */ interface Meta { /** * Customer tracking identifier */ external_id?: string | null; } } export declare namespace ValidateTemplate { export { type ValidateTemplateValidateResponse as ValidateTemplateValidateResponse, type ValidateTemplateValidateParams as ValidateTemplateValidateParams, }; } //# sourceMappingURL=validate-template.d.mts.map