// Copyright 2017-2025 @pezkuwi/types authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { DefinitionsCall } from '../../types/index.js';

export const runtime: DefinitionsCall = {
  SessionKeys: [
    {
      methods: {
        decode_session_keys: {
          description: 'Decode the given public session keys.',
          params: [
            {
              name: 'encoded',
              type: 'Bytes'
            }
          ],
          type: 'Option<Vec<(Bytes, KeyTypeId)>>'
        },
        generate_session_keys: {
          description: 'Generate a set of session keys with optionally using the given seed.',
          params: [
            {
              name: 'seed',
              type: 'Option<Bytes>'
            }
          ],
          type: 'Bytes'
        }
      },
      version: 1
    }
  ]
};
