import { type IOptiGraphClient } from "@remkoj/optimizely-graph-client"; export type GetContentByPathVariables = { path: string | string[]; locale?: Array | LocaleType; siteId?: string; changeset?: string | null; }; type MayBe = T extends Array ? Array | null : T | null; export type GetContentByPathResponse = { content?: MayBe<{ items?: MayBe; _type?: MayBe; } & Record> | { __typename?: MayBe; _type?: MayBe; } & Record>; total?: MayBe; }>; }; export type GetMetaDataByPathResponse = { getGenericMetaData?: { items?: Array<{ name?: string; alternatives?: Array<{ locale?: string | null; href?: string | null; } | null> | null; canonical?: string | null; } | null>; }; }; export type GetContentByPathMethod = (client: IOptiGraphClient, variables: GetContentByPathVariables) => Promise; export type GetMetaDataByPathMethod = (client: IOptiGraphClient, variables: GetContentByPathVariables) => Promise; export {};