/** * * Copyright © 2025 Ping Identity Corporation. All right reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * **/ import { z } from 'zod'; import type { Writable } from 'svelte/store'; export declare const journeyConfigItemSchema: z.ZodOptional; match: z.ZodArray; }, z.core.$strip>>; export declare const journeyConfigSchema: z.ZodObject<{ forgotPassword: z.ZodOptional; match: z.ZodArray; }, z.core.$strip>>; forgotUsername: z.ZodOptional; match: z.ZodArray; }, z.core.$strip>>; login: z.ZodOptional; match: z.ZodArray; }, z.core.$strip>>; register: z.ZodOptional; match: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; type ConfigItem = z.infer; export type StoreItem = { key: string; } & ConfigItem; export declare const configuredJourneysStore: Writable; /** * @function initialize - Initialize the configured journeys store * @param {object} customJourneys - An object of custom journeys to merge with the default * @returns {object} - The configured journeys store * @example initialize({ login: { journey: 'Login', match: ['?journey=Login'] } }) */ export declare function initialize(customJourneys?: z.infer | null): Writable<({ key: string; } & { match: string[]; journey?: string | undefined; })[]>; export {};