import { InstructionInputValueNode } from '@codama/nodes';
export type InstructionAccountDefaultRule = {
    /** The name of the instruction account or a pattern to match on it. */
    account: RegExp | string;
    /** The default value to assign to it. */
    defaultValue: InstructionInputValueNode;
    /** @defaultValue `false`. */
    ignoreIfOptional?: boolean;
    /** @defaultValue Defaults to searching accounts on all instructions. */
    instruction?: string;
};
export declare const getCommonInstructionAccountDefaultRules: () => InstructionAccountDefaultRule[];
export declare function setInstructionAccountDefaultValuesVisitor(rules: InstructionAccountDefaultRule[]): import("@codama/visitors-core").Visitor<import("@codama/node-types").Node, "instructionNode" | "programNode" | "rootNode">;
//# sourceMappingURL=setInstructionAccountDefaultValuesVisitor.d.ts.map