import { normalizePreviewPlaform } from "../models/preview-platform";
const CHARTS_PAGE_INTENT_KIND = "ChartsPageIntent";
export function makeChartsPageIntent({ platform, ...rest }) {
    return {
        ...rest,
        platform: normalizePreviewPlaform(platform),
        $kind: CHARTS_PAGE_INTENT_KIND,
    };
}
export function isChartsPageIntent(intent) {
    return (intent === null || intent === void 0 ? void 0 : intent.$kind) === CHARTS_PAGE_INTENT_KIND;
}
//# sourceMappingURL=charts-page-intent.js.map