import { IZFilter } from '../filter/filter.mjs'; import { IZDataMatch } from '../match/data-match.mjs'; /** * Options for an {@link ZDataSourceStatic} object. */ export interface IZDataSourceStaticOptions { /** * How the search field in the request is handled. */ search: IZDataMatch; /** * How the filter field in the request is handled. */ filter: IZDataMatch; /** * The total number of milliseconds to debounce each * request before resolving the results. */ delay: number; } /** * A builder for a {@link IZDataSourceStaticOptions} object. */ export declare class ZDataSourceStaticOptionsBuilder { private _options; /** * Initializes a new instance of this object. */ constructor(); /** * Sets the search implementation. * * @param val - * The value to set. * * @see * {@link IZDataSourceStaticOptions.search} * * @returns * A reference to this object. */ search(val: IZDataMatch | undefined): this; /** * Sets the search implementation. * * @param val - * The value to set. * * @see * {@link IZDataSourceStaticOptions.filter} * * @returns * A reference to this object. */ filter(val: IZDataMatch | undefined): this; /** * Sets the delay in milliseconds. * * @param val - * The value to set. * * @see * {@link IZDataSourceStaticOptions.delay} * * @returns * A reference to this object. */ delay(val: number | undefined): this; /** * Builds the options and returns the object. * * @returns * A shallow copy of the built options. */ build(): IZDataSourceStaticOptions; }