import { BaseTheme, CaptchaAppearanceOptions, Elements, Options, Theme, Variables } from "../internal/appearance.js"; import { InternalTheme } from "../foundations/defaultFoundations.js"; import { DeepPartial } from "@clerk/shared/types"; //#region src/themes/createTheme.d.ts interface CreateClerkThemeParams extends DeepPartial, Pick { /** * Optional name for the theme, used for telemetry and debugging. * @example 'shadcn', 'neobrutalism', 'custom-dark' */ name?: string; /** * {@link Theme.elements} */ elements?: Elements | ((params: { theme: InternalTheme; }) => Elements); } declare const createTheme: (themeParams: CreateClerkThemeParams) => { __type: "prebuilt_appearance"; /** * Optional name for the theme, used for telemetry and debugging. * @example 'shadcn', 'neobrutalism', 'custom-dark' */ name?: string; /** * {@link Theme.elements} */ elements?: Elements | ((params: { theme: InternalTheme; }) => Elements); theme?: (BaseTheme | BaseTheme[]) | undefined; options?: Options | undefined; variables?: Variables | undefined; captcha?: CaptchaAppearanceOptions | undefined; cssLayerName?: string | undefined; }; //#endregion export { createTheme }; //# sourceMappingURL=createTheme.d.ts.map