/** * Copyright 2022 Gravwell, Inc. All rights reserved. * * Contact: [legal@gravwell.io](mailto:legal@gravwell.io) * * This software may be modified and distributed under the terms of the MIT * license. See the LICENSE file for details. */ import { CreatableAutoExtractor } from '../../models/auto-extractor/creatable-auto-extractor'; import { APIContext } from '../utils/api-context'; export declare const makeIsValidAutoExtractorSyntax: (context: APIContext) => (data: CreatableAutoExtractor) => Promise; export declare type IsValidAutoExtractorSyntaxResponse = { isTagInUse: boolean; } & ({ isValidSyntax: true; syntaxErrorMessage: null; } | { isValidSyntax: false; syntaxErrorMessage: string; });