/**
 * Jira Configuration Storage
 *
 * Stores Jira credentials and preferences in the workspace_settings table.
 * Mirrors the Linear config module pattern.
 */
import Database from 'better-sqlite3';
export interface JiraConfig {
    baseUrl: string;
    email?: string;
    apiToken: string;
    projectKey?: string;
}
/**
 * Check if Jira is configured.
 * Returns true if either:
 * - Database has jira.base_url AND jira.api_token stored, OR
 * - Environment variables PRLT_JIRA_BASE_URL/JIRA_BASE_URL and PRLT_JIRA_API_TOKEN/JIRA_API_TOKEN are set
 */
export declare function isJiraConfigured(db: Database.Database): boolean;
/**
 * Load Jira configuration from the database + environment.
 * Returns null if not configured.
 */
export declare function loadJiraConfig(db: Database.Database): JiraConfig | null;
/**
 * Save Jira configuration to the database.
 */
export declare function saveJiraConfig(db: Database.Database, config: JiraConfig): void;
/**
 * Clear all Jira configuration from the database.
 */
export declare function clearJiraConfig(db: Database.Database): void;
