import { Codec, Decoder, Encoder, GetDiscriminatedUnionVariant, GetDiscriminatedUnionVariantContent, ReadonlyUint8Array } from "@solana/kit"; //#region src/generated/types/writeToBufferArgs.d.ts /** Versioned arguments for the `writeToBuffer` instruction. */ export type WriteToBufferArgs = { __kind: "V1"; /** The chunk of serialized RuleSet data to append. */ serializedRuleSet: ReadonlyUint8Array; /** Whether to overwrite the buffer from the start instead of appending. */ overwrite: boolean; }; export type WriteToBufferArgsArgs = WriteToBufferArgs; export declare function getWriteToBufferArgsEncoder(): Encoder; export declare function getWriteToBufferArgsDecoder(): Decoder; export declare function getWriteToBufferArgsCodec(): Codec; export declare function writeToBufferArgs(kind: "V1", data: GetDiscriminatedUnionVariantContent): GetDiscriminatedUnionVariant; export declare function isWriteToBufferArgs(kind: K, value: WriteToBufferArgs): value is WriteToBufferArgs & { __kind: K; }; //#endregion //# sourceMappingURL=writeToBufferArgs.d.ts.map