import { GitHubSyncService } from "./sync.js"; import type { GitHubSyncConfig } from "../config.js"; /** * Create a GitHubSyncService for auto-sync if enabled in config. * Returns null if auto-sync is disabled, no git remote, or no token. * * @param config Sync config from dex.toml * @param storagePath Path to task storage (default: ".dex") */ export declare function createGitHubSyncService(config: GitHubSyncConfig | undefined, storagePath?: string): Promise; /** * Create a GitHubSyncService for manual sync/import commands. * Throws descriptive errors if requirements are not met. * * @param config Optional sync config for label_prefix and token_env * @param storagePath Path to task storage (default: ".dex") */ export declare function createGitHubSyncServiceOrThrow(config?: GitHubSyncConfig, storagePath?: string): Promise; //# sourceMappingURL=sync-factory.d.ts.map