UNPKG

nuxt-kql

Version:

Kirby's Query Language API for Nuxt

9 lines (8 loc) 386 B
import type { ModuleOptions } from '../module.js'; export declare function getProxyPath(key: string): string; export declare function headersToObject(headers?: HeadersInit): Record<string, string>; export declare function createAuthHeader({ auth, token, credentials, }: Pick<ModuleOptions, 'token' | 'credentials'> & { auth?: string; }): { Authorization: string; } | undefined;