import { RouterInstructions } from './types'; /** * With @solana/kit invoking a program and having the account marked as writable results in an error being thrown: * * > SolanaError: This transaction includes an address (`11111111111111111111111111111111`) which is both invoked and marked writable. Program addresses may not be writable * * This function always marks system program accounts as read-only as well since it's a surefire way to increase tx costs unnecessarily. * * There is also a bug in older anchor libs where optional accounts (marked as `none` by sending the programAddress) are marked as writable unnecessarily. This function also works around that issue. * * @param ixs * @returns Instructions with invoked program accounts marked as read-only */ export declare function markInvokedProgramAccountsReadonly(ixs: RouterInstructions): RouterInstructions; //# sourceMappingURL=markInvokedProgramAccountsReadonly.d.ts.map