import type { LocalServerConfig } from './types.js'; import type { Hono } from 'hono'; /** * * @param app * @param userConfig */ export declare function setRoute(app: Hono, userConfig: LocalServerConfig): import("hono/hono-base").HonoBase | undefined; originalFrontMatter?: string | undefined; }; }; output: { saved: true; path: string; hasFrontMatter: boolean; }; outputFormat: "json"; status: import("hono/utils/http-status").ContentfulStatusCode; }; }; } & { "/api/file/list": { $post: { input: { json: { type: "image" | "pdf" | "video" | "audio" | "other"; filter?: string | undefined; page?: number | undefined; selected?: string | undefined; }; }; output: { readonly error: boolean; readonly data: readonly { readonly fileId: string; readonly name: string; readonly url: string; readonly size: number; readonly timestamp: number; readonly sizes: { readonly original?: string | null | undefined; readonly small?: string | null | undefined; }; }[]; readonly pagination: { readonly current: number; readonly total: number; }; }; outputFormat: "json"; status: import("hono/utils/http-status").ContentfulStatusCode; }; }; } & { "/api/file/upload": { $post: { input: { form: { file: File; type: "image" | "pdf" | "video" | "audio" | "other"; }; }; output: { uploaded: { readonly fileId: string; readonly name: string; readonly url: string; readonly size: number; readonly timestamp: number; readonly sizes: { readonly original?: string | null | undefined; readonly small?: string | null | undefined; }; }; result: { readonly error: boolean; readonly data: readonly { readonly fileId: string; readonly name: string; readonly url: string; readonly size: number; readonly timestamp: number; readonly sizes: { readonly original?: string | null | undefined; readonly small?: string | null | undefined; }; }[]; readonly pagination: { readonly current: number; readonly total: number; }; }; error: false; }; outputFormat: "json"; status: import("hono/utils/http-status").ContentfulStatusCode; }; }; } & { "/api/file": { $delete: { input: { json: { type: "image" | "pdf" | "video" | "audio" | "other"; url: string; }; }; output: { error: boolean; }; outputFormat: "json"; status: import("hono/utils/http-status").ContentfulStatusCode; }; }; } & { "/": { $get: { input: {}; output: {}; outputFormat: string; status: import("hono/utils/http-status").StatusCode; }; }; } & { "/:page{.+\\.html$|.+\\/$}": { $get: { input: { param: { page: string; }; }; output: {}; outputFormat: string; status: import("hono/utils/http-status").StatusCode; }; }; } & { "/:file{.+$}": { $get: { input: { param: { file: string; }; }; output: "Not Found"; outputFormat: "text"; status: 404; } | { input: { param: { file: string; }; }; output: ArrayBuffer; outputFormat: "body"; status: import("hono/utils/http-status").ContentfulStatusCode; }; }; }, "/", "/:file{.+$}">; export type AppType = ReturnType; //# sourceMappingURL=route.d.ts.map