import { z } from "zod"; import type { StoreFaq as ProtoStoreFaq, StoreGetProfileInput as ProtoGetStoreProfileInput, StoreGetProfileOutput as ProtoGetStoreProfileOutput, StoreProfileImage as ProtoStoreProfileImage, StoreProfileIntro as ProtoStoreProfileIntro, StoreProfileLocalizedContent as ProtoStoreProfileLocalizedContent } from "../gen/channel/app/sdk/v1/extension.js"; import type { Context } from "../types/context.js"; import type { ExtensionDefinition } from "../types/extension.js"; type ProtoBacked = T & Proto; export declare const StoreProfileImageSchema: z.ZodObject<{ key: z.ZodString; alt: z.ZodOptional; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>; export type StoreProfileImage = ProtoBacked, ProtoStoreProfileImage>; export declare const StoreProfileIntroSchema: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; export type StoreProfileIntro = ProtoBacked, ProtoStoreProfileIntro>; export declare const StoreFaqSchema: z.ZodObject<{ question: z.ZodString; answer: z.ZodString; }, "strict", z.ZodTypeAny, { question: string; answer: string; }, { question: string; answer: string; }>; export type StoreFaq = ProtoBacked, ProtoStoreFaq>; export declare const StoreProfileLocalizedContentSchema: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; export type StoreProfileLocalizedContent = ProtoBacked, ProtoStoreProfileLocalizedContent>; export declare const StoreProfileMetadataSchema: z.ZodObject<{ relatedAppIds: z.ZodArray; i18nMap: z.ZodObject<{ ko: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; ja: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; en: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; }, "strict", z.ZodTypeAny, { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }, { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }>; }, "strict", z.ZodTypeAny, { i18nMap: { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }; relatedAppIds: string[]; }, { i18nMap: { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }; relatedAppIds: string[]; }>; export type StoreProfileMetadata = ProtoBacked, ProtoGetStoreProfileOutput>; export declare const StoreProfileI18nSchema: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; export type StoreProfileI18n = StoreProfileLocalizedContent; export declare const StoreProfileSchema: z.ZodObject<{ relatedAppIds: z.ZodArray; i18nMap: z.ZodObject<{ ko: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; ja: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; en: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; }, "strict", z.ZodTypeAny, { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }, { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }>; }, "strict", z.ZodTypeAny, { i18nMap: { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }; relatedAppIds: string[]; }, { i18nMap: { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }; relatedAppIds: string[]; }>; export type StoreProfile = StoreProfileMetadata; export declare const GetStoreProfileInputSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>; export type GetStoreProfileInput = ProtoBacked, ProtoGetStoreProfileInput>; export declare const GetStoreProfileOutputSchema: z.ZodObject<{ relatedAppIds: z.ZodArray; i18nMap: z.ZodObject<{ ko: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; ja: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; en: z.ZodObject<{ images: z.ZodArray; }, "strict", z.ZodTypeAny, { key: string; alt?: string | undefined; }, { key: string; alt?: string | undefined; }>, "many">; intro: z.ZodObject<{ helpsWith: z.ZodString; recommendedFor: z.ZodString; }, "strict", z.ZodTypeAny, { helpsWith: string; recommendedFor: string; }, { helpsWith: string; recommendedFor: string; }>; faqs: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }, { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }>; }, "strict", z.ZodTypeAny, { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }, { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }>; }, "strict", z.ZodTypeAny, { i18nMap: { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }; relatedAppIds: string[]; }, { i18nMap: { ko: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; ja: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; en: { images: { key: string; alt?: string | undefined; }[]; intro: { helpsWith: string; recommendedFor: string; }; faqs: { question: string; answer: string; }[]; }; }; relatedAppIds: string[]; }>; export type GetStoreProfileOutput = StoreProfileMetadata; export type StoreProfileProvider = StoreProfileMetadata | ((ctx: Context) => StoreProfileMetadata | Promise); export declare function defineStoreProfile(profile: StoreProfileMetadata): StoreProfileMetadata; export declare function defineStoreProfileOutput(profile: StoreProfileMetadata): GetStoreProfileOutput; export declare function createStoreExtension(provider: StoreProfileProvider): ExtensionDefinition; export {}; //# sourceMappingURL=store.d.ts.map