import { normalizePreviewPlaform } from "../../models/preview-platform";
const SEARCH_LANDING_PAGE_INTENT_KIND = "SearchLandingPageIntent";
export function makeSearchLandingPageIntent(opts) {
    const { platform, ...rest } = opts;
    return {
        ...rest,
        platform: normalizePreviewPlaform(platform),
        $kind: SEARCH_LANDING_PAGE_INTENT_KIND,
    };
}
export function isSearchLandingPageIntent(intent) {
    return (intent === null || intent === void 0 ? void 0 : intent.$kind) === SEARCH_LANDING_PAGE_INTENT_KIND;
}
//# sourceMappingURL=search-landing-page-intent.js.map