import { FlinkPlugin } from "@flink-app/flink"; export declare enum HttpMethod { get = "get", post = "post", put = "put", delete = "delete", patch = "patch" } export type GenericRequestOptions = { /** * Path for request */ path: string; /** * Function to handle the request */ handler: any; /** * Http method for this request */ method: HttpMethod; /** * Optional permission(s) required to access this route. * If set, the auth plugin will validate the request before calling the handler. * Requires an auth plugin (e.g., jwt-auth-plugin) to be configured in FlinkApp. */ permissions?: string | string[]; }; export declare const genericRequestPlugin: (options: GenericRequestOptions) => FlinkPlugin;