import { RulesetFunctionContext } from '@stoplight/spectral-core';
type MessageFn = ({ path }: {
    path: (string | number)[];
}) => string;
/**
 * When the input is falsy, return a message that is generated by the provided function
 */
export declare const truthyWithMessage: (fn: MessageFn) => (input: string, _: unknown, context: RulesetFunctionContext) => {
    message: string;
}[];
export {};
