import { z } from 'zod'; import { LogLevel, type ILogger } from '@equinor/fusion-log'; import type { IEventModuleProvider } from '@equinor/fusion-framework-module-event'; import type { IBookmarkProvider } from './BookmarkProvider.interface'; import type { IBookmarkClient } from './BookmarkClient.interface'; import type { BookmarkModuleConfig } from './types'; /** * Zod schema that validates the full {@link BookmarkModuleConfig} object. * * Used internally by {@link BookmarkModuleConfigurator} to verify the resolved * configuration before the bookmark module is initialised. */ export declare const bookmarkConfigSchema: z.ZodObject<{ log: z.ZodOptional>; logLevel: z.ZodOptional>; eventProvider: z.ZodOptional>; sourceSystem: z.ZodOptional>; subSystem: z.ZodOptional>; }, z.core.$strip>>; parent: z.ZodNullable>>; client: z.ZodCustom; resolve: z.ZodObject<{ context: z.ZodFunction; application: z.ZodFunction; }, z.core.$strip>; filters: z.ZodDefault>; application: z.ZodDefault>; }, z.core.$strip>>>; }, z.core.$strip>; /** * Parses an unknown configuration object against {@link bookmarkConfigSchema}. * * @param config - The raw config value to validate. * @returns A validated {@link BookmarkModuleConfig}. * @throws {ZodError} When validation fails. */ export declare const parseBookmarkConfig: (config: unknown) => BookmarkModuleConfig;