declare const mappingInput: readonly [readonly [RegExp, "playstation-5"], readonly [RegExp, "playstation-4"], readonly [RegExp, "playstation-3"], readonly [RegExp, "playstation-2"], readonly [RegExp, "playstation"], readonly [RegExp, "playstation-vita"], readonly [RegExp, "psp"], readonly [RegExp, "xbox-series-x"], readonly [RegExp, "xbox-one"], readonly [RegExp, "xbox-360"], readonly [RegExp, "xbox"], readonly [RegExp, "pc"], readonly [RegExp, "switch"], readonly [RegExp, "wii-u"], readonly [RegExp, "wii"], readonly [RegExp, "gamecube"], readonly [RegExp, "nintendo-64"], readonly [RegExp, "3ds"], readonly [RegExp, "ds"], readonly [RegExp, "game-boy-advance"], readonly [RegExp, "ios"], readonly [RegExp, "dreamcast"]];
export type MetacriticPlatform = typeof mappingInput[number][1];
export declare function getPlatforms(): IterableIterator<MetacriticPlatform>;
export declare class PlatformParseError extends Error {
    constructor(input: unknown);
}
/**
 * @throws PlatformParseError
 */
export declare function parsePlatforms(str: string): MetacriticPlatform[];
export declare function toPlatform(str: string): MetacriticPlatform | undefined;
export {};
