/**
 * Trello Configuration Storage
 *
 * Stores Trello credentials and preferences in the workspace_settings table.
 * Mirrors the Shortcut/Asana config module pattern.
 */
import Database from 'better-sqlite3';
export interface TrelloConfig {
    apiKey: string;
    apiToken: string;
    boardId?: string;
    boardName?: string;
}
/**
 * Check if Trello is configured.
 * Returns true if either:
 * - Database has trello.api_key and trello.api_token stored, OR
 * - Environment variables PRLT_TRELLO_API_KEY/TRELLO_API_KEY and PRLT_TRELLO_API_TOKEN/TRELLO_API_TOKEN are set
 */
export declare function isTrelloConfigured(db: Database.Database): boolean;
/**
 * Load Trello configuration from the database + environment.
 * Returns null if not configured.
 */
export declare function loadTrelloConfig(db: Database.Database): TrelloConfig | null;
/**
 * Save Trello configuration to the database.
 */
export declare function saveTrelloConfig(db: Database.Database, config: TrelloConfig): void;
/**
 * Save the Trello API key.
 */
export declare function saveTrelloApiKey(db: Database.Database, apiKey: string): void;
/**
 * Save the Trello API token.
 */
export declare function saveTrelloApiToken(db: Database.Database, apiToken: string): void;
/**
 * Save the Trello board.
 */
export declare function saveTrelloBoard(db: Database.Database, boardId: string, boardName: string): void;
/**
 * Clear all Trello configuration from the database.
 */
export declare function clearTrelloConfig(db: Database.Database): void;
/**
 * Get the stored Trello API key.
 * Also checks PRLT_TRELLO_API_KEY and TRELLO_API_KEY environment variables.
 */
export declare function getTrelloApiKey(db: Database.Database): string | null;
/**
 * Get the stored Trello API token.
 * Also checks PRLT_TRELLO_API_TOKEN and TRELLO_API_TOKEN environment variables.
 */
export declare function getTrelloApiToken(db: Database.Database): string | null;
