/** * Credential template management */ import { z } from 'zod'; export declare const CredentialTemplateSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; credential_type: z.ZodArray; template_data: z.ZodRecord; version: z.ZodNumber; is_active: z.ZodBoolean; created_by: z.ZodNullable; created_at: z.ZodDate; updated_at: z.ZodDate; }, "strip", z.ZodTypeAny, { name: string; id: string; created_at: Date; updated_at: Date; created_by: string | null; credential_type: string[]; template_data: Record; version: number; is_active: boolean; description?: string | undefined; }, { name: string; id: string; created_at: Date; updated_at: Date; created_by: string | null; credential_type: string[]; template_data: Record; version: number; is_active: boolean; description?: string | undefined; }>; export type CredentialTemplate = z.infer; /** * Create a credential template */ export declare function createCredentialTemplate(template: Omit): Promise; /** * Get credential template by ID */ export declare function getCredentialTemplate(id: string): Promise; /** * Get credential template by name and version */ export declare function getCredentialTemplateByName(name: string, version?: number): Promise; /** * List all credential templates */ export declare function listCredentialTemplates(activeOnly?: boolean, limit?: number, offset?: number): Promise; /** * Update credential template */ export declare function updateCredentialTemplate(id: string, updates: Partial>): Promise; /** * Create new version of credential template */ export declare function createTemplateVersion(templateId: string, updates: Partial>): Promise; /** * Render credential from template with variable substitution */ export declare function renderCredentialFromTemplate(template: CredentialTemplate, variables: Record): Record; //# sourceMappingURL=credential-templates.d.ts.map