import { WeatherState } from '@rpgjs/common'; export declare const DEFAULT_WEATHER_Z_INDEX = 1000; export type WeatherRender = { kind: "builtin"; props: Record; } | { kind: "custom"; id: string; props: Record; }; export interface WeatherRenderOptions { /** Ids of the weather components registered with the `weathers` module option. */ customIds: { has(id: string): boolean; }; /** Whether CanvasEngine knows this preset name. */ hasPreset: (name: string) => boolean; warn?: (message: string) => void; } /** * Decides what a weather state draws: a registered custom component (which also * replaces a built-in effect of the same name), CanvasEngine's `` with * the preset and every param forwarded as they are, or nothing for an unknown * effect or preset (warned once, never thrown). */ export declare function resolveWeatherRender(state: WeatherState | null | undefined, options: WeatherRenderOptions): WeatherRender | null;