import type { Params } from '@feathersjs/feathers'; import { KnexAdapter } from '@feathersjs/knex'; import type { KnexAdapterParams, KnexAdapterOptions } from '@feathersjs/knex'; import type { Application } from '../../declarations'; import type { SpellRelease, SpellReleaseData, SpellReleasePatch, SpellReleaseQuery } from './spellReleases.schema'; export type SpellReleasesParams = KnexAdapterParams; /** * Default SpellReleasesService class. * Calls the standard Knex adapter service methods but can be customized with your own functionality. * * @template ServiceParams - The input params for the service * @extends KnexService */ export declare class SpellReleasesService extends KnexAdapter { app: Application; constructor(options: KnexAdapterOptions, app: Application); get(agentId: string, params: ServiceParams): Promise; find(params?: ServiceParams): Promise | { agentId?: string | undefined; agentToCopyId?: string | undefined; description: string; projectId: string; }[]>; create(data: SpellReleaseData): Promise; remove(agentId: string | null, params: ServiceParams): Promise<{ agentId?: string | undefined; agentToCopyId?: string | undefined; description: string; projectId: string; } | { agentId?: string | undefined; agentToCopyId?: string | undefined; description: string; projectId: string; }[]>; } /** * Returns options needed to initialize the SpellReleasesService. * * @param app - the Feathers application * @returns KnexAdapterOptions - options for initializing the Knex adapter */ export declare const getOptions: (app: Application) => KnexAdapterOptions;