/** Remove trailing slashes so hook routes contain one separator per segment. */ export declare function normalizeWorkflowApiBase(apiBase: string): string; /** Encode an identifier that must remain one WHATWG URL path segment. */ export declare function encodeWorkflowPathSegment(value: string, label: string): string; /** Stabilize semantically equal inline header objects across hook renders. */ export declare function useStableWorkflowHeaders(headers?: HeadersInit): Headers; /** Add the double-submit token to browser workflow mutations in every environment. */ export declare function workflowMutationHeaders(requestUrl: string | URL, init?: HeadersInit): Headers; /** Replace any caller media type with the JSON type used by workflow mutations. */ export declare function workflowJsonMutationHeaders(requestUrl: string | URL, init?: HeadersInit): Headers; //# sourceMappingURL=mutation-headers.d.ts.map