import type { SiteInfo } from '../../../utils/types.js'; import { type GitCommandObserver } from './git.js'; export type RemoteSource = { kind: 'external'; repoUrl: string; head: string; branch: string; untracked: string[]; }; export interface SourceCommit { sha: string; branch?: string; } /** A problem the user can fix, as opposed to an unexpected failure. */ export declare class RemoteBuildError extends Error { readonly name = "RemoteBuildError"; } export declare const resolveRemoteSource: ({ siteInfo, workingDir, onCommand, production, }: { siteInfo: SiteInfo; workingDir: string; onCommand?: GitCommandObserver; production?: boolean; }) => Promise; export declare const prepareSourceCommit: (source: RemoteSource) => Promise; //# sourceMappingURL=source.d.ts.map