/**
 * Shortcut Configuration Storage
 *
 * Stores Shortcut credentials and preferences in the workspace_settings table.
 * Mirrors the Jira config module pattern.
 */
import Database from 'better-sqlite3';
export interface ShortcutConfig {
    apiToken: string;
    workspaceSlug?: string;
}
/**
 * Check if Shortcut is configured.
 * Returns true if either:
 * - Database has shortcut.api_token stored, OR
 * - Environment variables PRLT_SHORTCUT_API_TOKEN/SHORTCUT_API_TOKEN are set
 */
export declare function isShortcutConfigured(db: Database.Database): boolean;
/**
 * Load Shortcut configuration from the database + environment.
 * Returns null if not configured.
 */
export declare function loadShortcutConfig(db: Database.Database): ShortcutConfig | null;
/**
 * Save Shortcut configuration to the database.
 */
export declare function saveShortcutConfig(db: Database.Database, config: ShortcutConfig): void;
/**
 * Save the Shortcut API token.
 */
export declare function saveShortcutApiToken(db: Database.Database, apiToken: string): void;
/**
 * Save the Shortcut workspace slug.
 */
export declare function saveShortcutWorkspaceSlug(db: Database.Database, slug: string): void;
/**
 * Clear all Shortcut configuration from the database.
 */
export declare function clearShortcutConfig(db: Database.Database): void;
/**
 * Get the stored Shortcut API token.
 * Also checks PRLT_SHORTCUT_API_TOKEN and SHORTCUT_API_TOKEN environment variables.
 */
export declare function getShortcutApiToken(db: Database.Database): string | null;
