import type { RecordedCommand } from "./recorded-command.js"; export type ParsedGitHubRecordedCommandUrl = { commandsPath: string; kind: "repo-root"; owner: string; repo: string; } | { commandsPath: string; kind: "tree"; owner: string; repo: string; treePath: string; }; export interface ResolvedGitHubRecordedCommandSource { commandsPath: string; owner: string; rawBaseUrl: string; ref: string; repo: string; } export declare function listGitHubRecordedCommandNames(options: { fetchImpl: typeof fetch; sourceUrl: string; }): Promise<{ commandNames: string[]; parsedSource: ResolvedGitHubRecordedCommandSource; }>; export declare function loadGitHubRecordedCommandFromResolvedSource(options: { commandName: string; fetchImpl: typeof fetch; parsedSource: ResolvedGitHubRecordedCommandSource; }): Promise<{ command: RecordedCommand; parsedSource: ResolvedGitHubRecordedCommandSource; }>; export declare function parseGitHubRecordedCommandUrl(sourceUrl: string): ParsedGitHubRecordedCommandUrl; export declare function loadGitHubRecordedCommand(options: { commandName: string; fetchImpl: typeof fetch; sourceUrl: string; }): Promise<{ command: RecordedCommand; parsedSource: ResolvedGitHubRecordedCommandSource; }>; //# sourceMappingURL=github-recorded-command-import.d.ts.map