import { F as FetchLike } from '../http-CqI0d_bz.cjs'; /** ChottuLink UTM metadata. * @example * const utm: ChottuLinkUtm = { source: "push", campaign: "spring" }; */ interface ChottuLinkUtm { source?: string; medium?: string; campaign?: string; term?: string; content?: string; } /** ChottuLink social preview metadata. * @example * const social: ChottuLinkSocial = { title: "Open app", description: "Continue in the app" }; */ interface ChottuLinkSocial { title?: string; description?: string; imageUrl?: string; } /** Input for creating a ChottuLink link from server code. * @example * await createChottuLink({ apiKey: process.env.BDK_CHOTTULINK_API_KEY, domain: process.env.BDK_CHOTTULINK_DOMAIN, destinationUrl: "https://example.com/orders/123" }); */ interface CreateChottuLinkInput { apiKey?: string; domain?: string; destinationUrl: string; linkName?: string; selectedPath?: string; iosBehavior?: 1 | 2; androidBehavior?: 1 | 2; utm?: ChottuLinkUtm; social?: ChottuLinkSocial; extraParams?: Record; urlParams?: Record; baseUrl?: string; fetch?: FetchLike; } /** Result returned after creating a ChottuLink link. * @example * console.log(result.dynamicLink); */ interface ChottuLinkResult { dynamicLink: string | null; errorMessage: string | null; raw: unknown; } /** Create a ChottuLink deep link. * @example * await createChottuLink({ apiKey: process.env.BDK_CHOTTULINK_API_KEY, domain: process.env.BDK_CHOTTULINK_DOMAIN, destinationUrl: "https://example.com/orders/123" }); */ declare function createChottuLink(input: CreateChottuLinkInput): Promise; export { type ChottuLinkResult, type ChottuLinkSocial, type ChottuLinkUtm, type CreateChottuLinkInput, createChottuLink };