import type { Plugin, PromiseOrValue } from 'graphql-yoga';
type UseDisableIntrospectionArgs = {
    isDisabled?: (request: Request, context: Record<string, unknown>) => PromiseOrValue<boolean>;
};
export declare function useDisableIntrospection<TContext extends Record<string, unknown>>(props?: UseDisableIntrospectionArgs): Plugin<TContext>;
export {};
