import { EntityService, ServiceBuilder } from '../interfaces'; import { Builder } from 'ship-hold-querybuilder'; export interface WithServiceBuilderMixin { (builder: T, table?: string): ServiceBuilder; } /** * Create a functional mixin to be applied to a builder to pass metadata related to the service and context the builder was generated with * Note: the metadata are part of the "identity" of the builder and therefore are copied when cloning a builder * @param {EntityService} service * @returns {WithServiceBuilderMixin} */ export declare const setAsServiceBuilder: (service: EntityService) => WithServiceBuilderMixin;