import { Platform, PlatformOptions, Problem } from "../platform-DVQwRMI1.js";

//#region src/platforms/leetcode.d.ts

type Difficulty = 'Easy' | 'Medium' | 'Hard';
/**
 * LeetCode-specific problem type.
 *
 * - Description is HTML
 * - ID is the title slug, e.g. `two-sum`
 */
type Problem$1 = Problem<string, undefined, Difficulty, string[]>;
declare const DEFAULT_BASE_URL = "https://leetcode.com";
/**
 * LeetCode platform.
 *
 * If you want to use LeetCode CN, set `baseURL` to `https://leetcode.cn`.
 */
declare class LeetCode extends Platform {
  constructor(options?: PlatformOptions);
  /** Fetches a problem from LeetCode using internal API. */
  getProblem(slug: string): Promise<Problem$1>;
}
//#endregion
export { DEFAULT_BASE_URL, Difficulty, Problem$1 as Problem, LeetCode as default };