import { KnexAdapter, KnexAdapterOptions, KnexAdapterParams } from '@feathersjs/knex'; import type { GraphEventsData, GraphEventsPatch, GraphEventsQuery } from './graphEvents.schema'; import { Application, Params } from '@feathersjs/feathers'; export type GraphParams = KnexAdapterParams; export declare class GraphEventService extends KnexAdapter { app: Application; constructor(options: KnexAdapterOptions, app: Application); get(eventId: string, params: ServiceParams): Promise; find(params?: ServiceParams): Promise; create(data: GraphEventsData): Promise; patch(eventId: string, data: GraphEventsData): Promise; remove(eventId: string | null, params: ServiceParams): Promise; } /** * Get options for the graph events service * * This function returns the options required by the KnexAdapter. * @param {Application} app - The Feathers application object. * @returns {KnexAdapterOptions} - The options required by KnexAdapter. */ export declare const getOptions: (app: Application) => KnexAdapterOptions;