import type { GitService } from "./index.js";
export interface WorkflowProviderConfig {
    /** Human-readable provider name used in log messages, e.g. "github" or "gitlab". */
    providerName: string;
    /** Relative path for the workflow file, e.g. ".github/workflows/superblocks-sync.yml". */
    workflowPath: string;
    /** Returns true if the remote URL belongs to this provider. */
    isProviderRemoteUrl: (remoteUrl: string) => boolean;
    /** Builds the workflow file content from a Superblocks base URL. */
    buildWorkflowFromBaseUrl: (superblocksBaseUrl: string) => string;
}
/**
 * Generic helper that creates a CI workflow file for a given provider
 * if the repo's remote matches and the file doesn't already exist.
 */
export declare function ensureWorkflowFile(gitService: GitService, config: WorkflowProviderConfig, superblocksBaseUrl?: string): Promise<{
    created: boolean;
}>;
//# sourceMappingURL=ensure-workflow-file.d.ts.map