import type { Promisable } from "type-fest"; import { z } from "zod"; export declare const id: z.ZodString; export type Id = z.infer; export declare const author: z.ZodObject<{ name: z.ZodString; discordID: z.ZodOptional; github: z.ZodOptional; }, z.core.$strip>; export type Author = z.infer; export declare const common: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; }, z.core.$strip>; export type Common = z.infer; export declare const repluggedManifest: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged">; }, z.core.$strip>; export type RepluggedManifest = z.infer; export interface RepluggedEntity { manifest: RepluggedManifest; path: string; } export declare const theme: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged-theme">; main: z.ZodOptional; splash: z.ZodOptional; presets: z.ZodOptional; main: z.ZodOptional; splash: z.ZodOptional; default: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type ThemeManifest = z.infer; export declare const plugin: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged-plugin">; renderer: z.ZodOptional; plaintextPatches: z.ZodOptional; reloadRequired: z.ZodOptional; }, z.core.$strip>; export type PluginManifest = z.infer; export declare const anyAddon: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged-theme">; main: z.ZodOptional; splash: z.ZodOptional; presets: z.ZodOptional; main: z.ZodOptional; splash: z.ZodOptional; default: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged-plugin">; renderer: z.ZodOptional; plaintextPatches: z.ZodOptional; reloadRequired: z.ZodOptional; }, z.core.$strip>], "type">; export type AnyAddonManifest = z.infer; export declare const anyAddonOrReplugged: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged">; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged-theme">; main: z.ZodOptional; splash: z.ZodOptional; presets: z.ZodOptional; main: z.ZodOptional; splash: z.ZodOptional; default: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodUnion; github: z.ZodOptional; }, z.core.$strip>, z.ZodArray; github: z.ZodOptional; }, z.core.$strip>>]>; version: z.ZodString; updater: z.ZodOptional; id: z.ZodString; }, z.core.$strip>>; license: z.ZodString; image: z.ZodOptional]>>; source: z.ZodOptional; type: z.ZodLiteral<"replugged-plugin">; renderer: z.ZodOptional; plaintextPatches: z.ZodOptional; reloadRequired: z.ZodOptional; }, z.core.$strip>], "type">; export type AnyAddonManifestOrReplugged = z.infer; export interface PluginExports { start?: () => Promisable; stop?: () => Promisable; Settings?: React.ComponentType; [x: string]: unknown; } export type AddonSettings = { disabled?: string[]; }; export type ThemeSettings = AddonSettings & Record;