import { n as PageScriptConfig } from "./protocol-C17yBy4y.mjs"; import { RpcDefinitionsToFunctions } from "devframe/rpc"; //#region src/node/rpc/functions/get-config.d.ts /** Author-supplied runtime configuration surfaced through `get-config`. */ interface A11yRuntimeConfig { /** The devframe id, so messages-feed actions can activate this dock. */ dockId?: string; /** Rescan on debounced user interaction (default `true`). */ autoScan?: boolean; /** Log newly-appeared violations to the browser console (default `true`). */ logIssues?: boolean; /** Auto-pin all of a route's violations the first time it's scanned (default `false`). */ defaultHighlight?: boolean; /** axe configuration. */ axe?: { /** Rule tags to run (defaults to the broadened WCAG 2.0–2.2 + best-practice set). */ tags?: string[]; /** Extra axe `run` options merged over the defaults. */ runOptions?: Record; }; } //#endregion //#region src/node/rpc/index.d.ts /** Default function set, driving the RPC type augmentation below. */ declare const serverFunctions: readonly [import("devframe/rpc").RpcFunctionDefinitionWithoutSchemas<"devframes:plugin:a11y:get-config", "static", [], { channel: string; nodeAttr: string; docsBase: string; dockId: string; defaultHighlight: boolean; pageScript: PageScriptConfig; impacts: ({ label: "Critical"; blurb: "Blocks people with disabilities from using the page. Fix first."; id: "critical" | "serious" | "moderate" | "minor"; } | { label: "Serious"; blurb: "Severe barriers for some users; frustrating and often exclusionary."; id: "critical" | "serious" | "moderate" | "minor"; } | { label: "Moderate"; blurb: "Causes friction and confusion, though the page stays usable."; id: "critical" | "serious" | "moderate" | "minor"; } | { label: "Minor"; blurb: "Small annoyances and polish, worth clearing once the rest is done."; id: "critical" | "serious" | "moderate" | "minor"; })[]; }, undefined, undefined, import("devframe").DevframeNodeContext>]; /** Build the function set configured with author options. */ declare function buildServerFunctions(options?: A11yRuntimeConfig): readonly [import("devframe/rpc").RpcFunctionDefinitionWithoutSchemas<"devframes:plugin:a11y:get-config", "static", [], { channel: string; nodeAttr: string; docsBase: string; dockId: string; defaultHighlight: boolean; pageScript: PageScriptConfig; impacts: ({ label: "Critical"; blurb: "Blocks people with disabilities from using the page. Fix first."; id: "critical" | "serious" | "moderate" | "minor"; } | { label: "Serious"; blurb: "Severe barriers for some users; frustrating and often exclusionary."; id: "critical" | "serious" | "moderate" | "minor"; } | { label: "Moderate"; blurb: "Causes friction and confusion, though the page stays usable."; id: "critical" | "serious" | "moderate" | "minor"; } | { label: "Minor"; blurb: "Small annoyances and polish, worth clearing once the rest is done."; id: "critical" | "serious" | "moderate" | "minor"; })[]; }, undefined, undefined, import("devframe").DevframeNodeContext>]; declare module 'devframe' { interface DevframeRpcServerFunctions extends RpcDefinitionsToFunctions {} } //#endregion export { serverFunctions as n, A11yRuntimeConfig as r, buildServerFunctions as t };