client-account.d.ts 621 B

123456789101112131415161718
  1. import { RequestOptions } from '@algolia/transporter';
  2. import { SearchIndex } from '@algolia/client-search';
  3. import { WaitablePromise } from '@algolia/client-common';
  4. export declare const accountCopyIndex: (source: SearchIndex, destination: SearchIndex, requestOptions?: RequestOptions | undefined) => WaitablePromise<void>;
  5. export declare function createDestinationIndiceExistsError(): Error;
  6. export declare function createIndicesInSameAppError(appId: string): IndicesInSameAppError;
  7. export declare type IndicesInSameAppError = Error & {
  8. /**
  9. * The app id.
  10. */
  11. readonly appId: string;
  12. };
  13. export { }