import { ApiConfig } from "../types/index.js"; import { Result } from "../types/result.js"; /** * Downloads content from a URL */ export declare const downloadFromUrl: (url: string) => Promise>; /** * Determines if a string is a URL */ export declare const isUrl: (input: string) => boolean; /** * Determines if a URL is from GitHub */ export declare const isGitHubUrl: (url: string) => boolean; /** * Determines if a string is a repository URL (repo://) */ export declare const isRepoUrl: (input: string) => boolean; /** * Converts a repository URL (repo://) to a GitHub raw URL */ export declare const convertRepoUrlToGitHubUrl: (repoUrl: string) => string; /** * Parses content based on its extension or format */ export declare const parseContent: (content: string, format: string) => Result; export declare const parseFromYaml: (filePathOrUrl: string) => Promise>; export declare const parseFromObject: (configObject: unknown) => Result; export declare const parseFromString: (content: string, format?: "yaml" | "json") => Result;