/**
 * Ticket template operations.
 *
 * Note: Workflow templates have been removed. Workflows are now used directly
 * as the source of truth for status configurations. See workflow commands
 * and StatusStorage for workflow operations.
 */
import { TicketTemplate, TicketTemplateFilter } from '../types.js';
import type { StorageContext } from './types.js';
export declare class TemplateStorage {
    private ctx;
    constructor(ctx: StorageContext);
    /**
     * List ticket templates.
     */
    listTicketTemplates(filter?: TicketTemplateFilter): Promise<TicketTemplate[]>;
    /**
     * Get a ticket template by ID.
     */
    getTicketTemplate(id: string): Promise<TicketTemplate | null>;
    /**
     * Create a new ticket template.
     */
    createTicketTemplate(template: Partial<TicketTemplate> & {
        name: string;
    }): Promise<TicketTemplate>;
    /**
     * Create a ticket template from an existing ticket.
     */
    createTicketTemplateFromTicket(ticketId: string, name: string, description?: string): Promise<TicketTemplate>;
    /**
     * Update a ticket template.
     */
    updateTicketTemplate(id: string, changes: Partial<TicketTemplate>): Promise<TicketTemplate>;
    /**
     * Delete a ticket template.
     */
    deleteTicketTemplate(id: string): Promise<void>;
    private rowToTicketTemplate;
}
