import { normalizePreviewPlaform } from "../models/preview-platform";
/**
 * Create a {@linkcode ChartsHubPageIntent}
 */
export function makeChartsHubPageIntent(opts) {
    const { platform, ...rest } = opts;
    return {
        ...rest,
        platform: normalizePreviewPlaform(platform),
        $kind: "ChartsHubPageIntent",
    };
}
//# sourceMappingURL=charts-hub-page-intent.js.map